Skip to content

Commit

Permalink
Improve logging in build script
Browse files Browse the repository at this point in the history
  • Loading branch information
juusaw committed Apr 22, 2019
1 parent af5478e commit e519009
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/bash
case "$1" in
""|"native")
echo "native"
echo "Compiling to native binary..."
corebuild -use-menhir src/cli.native
mv cli.native troll
;;
"javascript")
echo "javascript"
echo "Compiling to Javascript..."
ocamlbuild -use-ocamlfind -pkgs 'base,js_of_ocaml,js_of_ocaml.ppx' -use-menhir src/javascript.byte
js_of_ocaml +base/runtime.js javascript.byte
mv javascript.js troll.js
Expand Down

0 comments on commit e519009

Please sign in to comment.