GildedRose-Refactoring-Kata/ocaml
2023-10-21 11:08:53 +02:00
..
lib Add Gilded Rose exercise 2023-10-18 21:10:26 +02:00
test Add initial test 2023-10-19 14:03:12 +02:00
.ocamlformat Init OCaml repository 2023-10-18 19:26:52 +02:00
dune-project Add initial test 2023-10-19 14:03:12 +02:00
gilded_rose.opam Add initial test 2023-10-19 14:03:12 +02:00
README.md Document installation and running for OCaml 2023-10-21 11:08:53 +02:00

Gilded Rose Kata for OCaml

Requirements

To run the project, the following package must be available on your computer:

  • opam >= 2.0

Installation

At the root of the ocaml directory, execute:

opam switch create . --deps-only
eval $(opam env)

It will install all the required dependencies for the project to run.

Running

This project relies on dune. To build it, run this command in your terminal:

dune exec gilded_rose

Testing

The test suite is built with Alcostest. To launch the tests, just type:

dune runtest