Skip to content

Latest commit

 

History

History
47 lines (40 loc) · 1.27 KB

BUILD.md

File metadata and controls

47 lines (40 loc) · 1.27 KB

Pre-requisites:

  • Opam 2.1.2:
    • sudo apt install opam
    • opam switch create 5.2.1
    • opam --version should output 2.1.2
  • Ocaml 5.2.1 will be installed now
    • ocaml --version should output: OCaml version 5.2.1
  • Dune 3.4.1:
    • opam install dune
    • dune --version should output 3.17.0

Steps with Dune

eval `opam config env`
  • Type dune build anmetrigal.exe
  • See results in ./_build/defaultdirectory
  • Run

Steps with Esy

$ node -v
v23.3.0
$ npm --version
10.9.0
  • Install Esy following: https://esy.sh/docs/en/getting-started.html
  • npm install -g esy
  • esy --version should output 0.8.0
  • type cd src
  • Type esy install
  • Type esy build
  • See results in _esy/default/store/b/an_metri_gal-7ed22e74/install/default/ directory