Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
OPAM is a source-based package manager for OCaml. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
tree: ac99a15b48

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
boot
lib
specs
src
src_ext
tests
.gitignore
AUTHORS
BUGS
Makefile
README.md
ocp-standard-ocaml.ocp
opam.ocp

README.md

ocp-get - A package manager for OCaml

Warning do not use this software in production, it is not yet stable

Prerequisites:

  • ocaml

(optional) Preparing the build

make clone

This command will download and extract the following archives:

Building ocp-get

To compile ocp-get, simply run:

make

Tests

In order to run the test you should run:

make tests-runserver

This will run the server in debug mode. It will show the IP address it is listening to. If this address is different of 127.0.0.1 you should set the environment variable LOCALHOST accordingly.

You can then open a new terminal window and run:

make tests

Bootstrapping

ocp-get is able to bootstrap itself, using an external index repository.

You can test the bootrap process by:

  • compiling ocp-get following the steps described previously
  • run ./ocp-get init https://github.com/samoht/opam-test.git at the root path of your cloned repository
  • run ./ocp-get install ocp-get: this will download, compile and install all the needed dependencies. The new binary will be in ~/.opam/<ocaml-version/bin/ocp-get. If you want to use, you may want to use update your $PATH variable.
Something went wrong with that request. Please try again.