- This is an
esycompatible package. - Supports
ocamlopt/ocamlcversions4.02.3-4.05.
Package Builds:
Add a dependency on refmterr, and @opam/reason in your dependencies, and
then you will be able to wrap your build commands with refmterr. For example,
instead of using make build as your build command, use remfterr make build.
{
"esy": {
"build": [
["refmterr make build"]
],
...
},
"dependencies": {
"refmterr": "^3.0.0",
"@opam/reason": "^3.0.0"
}
}Command Line Usage:
You can wrap any command that outputs ocamlopt/ocamlc error messages. For
example, from your sandboxed project with the above package.json, you could
run:
esy refmterr ocamlopt -pp refmt someFile.reand have any errors/warnings printed more readably.
- Install the latest esy
npm install -g esy. git clonethis repo,cdinto it, then run:
esy install
esy build
esy ./runTests.sh