Add a `make release` target

Should help with #192
This commit is contained in:
Jeremie Dimino 2017-07-18 10:17:53 +01:00
parent 71c748860d
commit edb4b8f73c
2 changed files with 7 additions and 2 deletions

View File

@ -4,6 +4,9 @@ BIN := ./_build/default/bin/main.exe
default: boot.exe default: boot.exe
./boot.exe -j 4 --dev ./boot.exe -j 4 --dev
release: boot.exe
./boot.exe -j 4
boot.exe: bootstrap.ml boot.exe: bootstrap.ml
ocaml bootstrap.ml ocaml bootstrap.ml

View File

@ -116,11 +116,13 @@ $ opam install jbuilder
You can also build it manually with: You can also build it manually with:
```sh ```sh
$ make $ make release
$ make install $ make install
``` ```
Note however that `make install` requires the `opam-installer` tool. Note however that `make install` requires the `opam-installer`
tool. Running simply `make` will build jbuilder using the development
settings.
If you do not have `make`, you can do the following: If you do not have `make`, you can do the following: