Source

ocaml-toys / brainfuck / build.sh

Full commit
1
2
3
4
5
6
CAMLP4="camlp4o /usr/lib/ocaml/js_of_ocaml/pa_js.cmo"
TARGET=bfjs

ocamlbuild -use-ocamlfind -pkgs js_of_ocaml -pp "$CAMLP4" $TARGET.byte
js_of_ocaml $TARGET.byte
uglifyjs $TARGET.js > $TARGET.min.js