mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-12 20:32:15 +00:00
| .. | ||
| lib | ||
| test | ||
| .ocamlformat | ||
| dune-project | ||
| gilded_rose.opam | ||
| README.md | ||
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