13 lines
478 B
Bash
Executable File
13 lines
478 B
Bash
Executable File
#!/bin/sh
|
|
cd `dirname $0`/..
|
|
set -ex
|
|
./boot/ocamlrun boot/myocamlbuild.boot boot/stdlib.cma boot/std_exit.cmo
|
|
boot/ocamlrun boot/myocamlbuild.boot -log _boot_log1 \
|
|
ocamlbuild/ocamlbuildlightlib.cma ocamlbuild/ocamlbuildlight.byte
|
|
rm -f _build/myocamlbuild
|
|
boot/ocamlrun boot/myocamlbuild.boot \
|
|
-just-plugin -install-dir _build/ocamlbuild -byte-plugin
|
|
cp _build/myocamlbuild boot/myocamlbuild
|
|
./boot/ocamlrun boot/myocamlbuild $@ -log _boot_log2 \
|
|
boot/camlheader ocamlc
|