mirror of
https://github.com/LucasVbr/croissant.git
synced 2026-05-13 17:12:10 +00:00
feat: Edit README
This commit is contained in:
@@ -12,17 +12,29 @@
|
|||||||
|
|
||||||
This project uses [Dune](https://dune.build/) as a build system. You can install it with the following command:
|
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
|
```sh
|
||||||
opam install dune
|
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
|
## Usage
|
||||||
|
|
||||||
Run the following commands to build and run the project:
|
Run the following commands to build and run the project:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
dune build
|
dune build
|
||||||
dune exec croissant
|
echo "1 + 3;" | dune exec croissant
|
||||||
```
|
```
|
||||||
|
|
||||||
## Run tests
|
## Run tests
|
||||||
|
|||||||
Reference in New Issue
Block a user