Split bulding boot.exe and running it
This is to make development on jbuilder itself easier.
This commit is contained in:
parent
d7e41f63de
commit
bb996f696b
8
Makefile
8
Makefile
|
@ -1,8 +1,10 @@
|
||||||
NAME := jbuilder
|
NAME := jbuilder
|
||||||
|
|
||||||
# Default rule
|
default: boot.exe
|
||||||
default:
|
./boot.exe -j 4
|
||||||
ocaml build.ml
|
|
||||||
|
boot.exe: bootstrap.ml
|
||||||
|
ocaml bootstrap.ml
|
||||||
|
|
||||||
install:
|
install:
|
||||||
opam-installer -i --prefix $(PREFIX) jbuilder.install
|
opam-installer -i --prefix $(PREFIX) jbuilder.install
|
||||||
|
|
|
@ -307,8 +307,3 @@ let () =
|
||||||
())
|
())
|
||||||
in
|
in
|
||||||
if n <> 0 then exit n
|
if n <> 0 then exit n
|
||||||
|
|
||||||
let () =
|
|
||||||
exit
|
|
||||||
(exec "%s"
|
|
||||||
(String.concat ~sep:" " ("./boot.exe" :: (List.tl (Array.to_list Sys.argv)))))
|
|
|
@ -6,7 +6,8 @@ bug-reports: "https://github.com/janestreet/jbuilder/issues"
|
||||||
dev-repo: "https://github.com/janestreet/jbuilder.git"
|
dev-repo: "https://github.com/janestreet/jbuilder.git"
|
||||||
license: "Apache-2.0"
|
license: "Apache-2.0"
|
||||||
build: [
|
build: [
|
||||||
["ocaml" "build.ml" "-j" jobs]
|
["ocaml" "bootstrap.ml"]
|
||||||
|
["./boot.exe" "-j" jobs]
|
||||||
]
|
]
|
||||||
available: [ ocaml-version >= "4.03.0" ]
|
available: [ ocaml-version >= "4.03.0" ]
|
||||||
descr: "
|
descr: "
|
||||||
|
|
Loading…
Reference in New Issue