Skip to content

Commit

Permalink
Feature/make esy to work (#11)
Browse files Browse the repository at this point in the history
* Update BUILD.md (#10)

* Updated for esy to work

* Updated doc for esy
  • Loading branch information
juliojgd authored Aug 28, 2022
1 parent d4ffdc6 commit 6fdcb66
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
17 changes: 16 additions & 1 deletion src/BUILD.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
* `sudo apt get opam`
* `opam switch set 4.13.1`
* `opam switch an-metri-gal --alias-of 4.13.1`
* `opam --version` should output `2.1.2`
- Ocaml 4.13.1 will be installed now
* `ocaml --version` should output: `The OCaml toplevel, version 4.13.1`
- Dune 3.4.1:
* `opam install dune`
* `opam --version` should output `3.4.1`
* `dune --version` should output `3.4.1`


## Steps with Dune
Expand All @@ -23,7 +24,21 @@ eval `opam config env`


## Steps with Esy
- Install nvm
- Install npm and node via nvm
```sh
$ node -v
v16.17.0
```

```sh
$ npm --version
8.15.0
```

- Install Esy following: https://esy.sh/docs/en/getting-started.html
- npm install -g esy
- `esy --version` should output `0.6.12-dev`
- type `cd src`
- Type `esy install`
- Type `esy build`
Expand Down
4 changes: 2 additions & 2 deletions src/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},

"dependencies": {
"@opam/dune": "2.1.2",
"ocaml": "4.13.1"
"@opam/dune": "*",
"ocaml": "4.13.x"
}
}

0 comments on commit 6fdcb66

Please sign in to comment.