feat: Edit README

This commit is contained in:
Lucàs
2024-07-02 18:17:32 +02:00
parent b983c8a662
commit 9ba70f93aa
+13 -1
View File
@@ -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