exercism-ocaml/README.md

624 B

OCaml exercism exercises

To set up the envirnoment run:

nix develop

To test a single exercise with dune:

dune test hello-world

Configuring the exercism CLI

First, get a token from exercism, than run:

exercism configure --token <token> --workspace /home/vladan/dev/exercism

Using the exercism CLI

Download an exercise:

exercism download --track=ocaml --exercise=hello-world

To test a single exercise open the folder and run test, e.g.:

cd hello-world
exercism test

To submit solutions (from within the exercise folder):

exercism submit