Spin generator for PPX with Reason and Esy support.
opam spin new https://github.com/ocaml-templates/spin-reason-ppx.git
You can see a generated project with Reason and Esy in the example/
directory.
-
To use the
opam
package manager, you'll needopam >= 2.0
installed on your system. You can see the installation instructions at https://opam.ocaml.org/doc/Install.html.TL;DR: if you are running on Linux or macOS, you can run:
sh <(curl -sL https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh)
-
To use the
Esy
package manager, you'll needesy
installed on your system. You can see the installation instructions at https://esy.sh/docs/en/getting-started.html.TL;DR: you can install it with npm:
npm install -g esy