From 9ba70f93aab8641d219ffcc26f0cf3829dca3c3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luc=C3=A0s?= <86352901+LucasVbr@users.noreply.github.com> Date: Tue, 2 Jul 2024 18:17:32 +0200 Subject: [PATCH] feat: Edit README --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ecf836c..8ff0eb7 100644 --- a/README.md +++ b/README.md @@ -12,17 +12,29 @@ This project uses [Dune](https://dune.build/) as a build system. You can install it with the following command: +Install Dune with the following command: ```sh opam install dune ``` +Generate the `.opam` file with the following command if it doesn't exist: +```sh +dune build croissant.opam +``` + +Install the dependencies with the following command: +```sh +opam install . --deps-only +eval $(opam env) +``` + ## Usage Run the following commands to build and run the project: ```sh dune build -dune exec croissant +echo "1 + 3;" | dune exec croissant ``` ## Run tests