From edb4b8f73c25c9ee409a0bb54ca3cdc7ae017af5 Mon Sep 17 00:00:00 2001 From: Jeremie Dimino Date: Tue, 18 Jul 2017 10:17:53 +0100 Subject: [PATCH] Add a `make release` target Should help with #192 --- Makefile | 3 +++ README.md | 6 ++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2686b886..e97634a3 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,9 @@ BIN := ./_build/default/bin/main.exe default: boot.exe ./boot.exe -j 4 --dev +release: boot.exe + ./boot.exe -j 4 + boot.exe: bootstrap.ml ocaml bootstrap.ml diff --git a/README.md b/README.md index 4d6987ff..91c8fce7 100644 --- a/README.md +++ b/README.md @@ -116,11 +116,13 @@ $ opam install jbuilder You can also build it manually with: ```sh -$ make +$ make release $ 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: