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:
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user