How to Build, Test & Run
- Install Opam
- Install an OCaml compiler, e.g. 4.04.2:
opam switch install 4.04.2
- Install dependencies:
opam install oasis ounit batteries
- Clone the tag or grab the sources and
cd
to the directory. oasis setup
ocaml setup.ml -configure --enable-tests
- To build:
ocaml setup.ml -build
- To run, simply run
./stockman.native
- To run the tests:
ocaml setup.ml -test