Skip to content

Commit

Permalink
Tweaks to building Z3
Browse files Browse the repository at this point in the history
  • Loading branch information
jawline committed Jun 21, 2016
1 parent 0a0f253 commit 7221aab
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 11 deletions.
3 changes: 1 addition & 2 deletions scripts/compile_to_es5
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/bash -e
babel --presets es2015,stage-0 ./bin/z3_bindings_em.js > ./bin/z3_bindings_em_es5.js
babel --presets es2015,stage-0 ./bin/z3_bindings_ref.js > ./bin/z3_bindings_ref_es5.js
babel --presets es2015,stage-0 ./templates/package.js > ./bin/package.js
babel --presets es2015,stage-0 ./bin/z3_bindings_ref.js > ./bin/z3_bindings_ref_es5.js
9 changes: 8 additions & 1 deletion setup
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash -e

if [ -e bin ]; then
echo "Do not need to create a bin dir"
else
Expand All @@ -17,4 +16,12 @@ fi

./scripts/binds

if [ ! -z ${Z3_WEB} ]; then
echo "Em Build Cp"
cp ./bin/z3_bindings_em_es5.js ./bin/package.js
else
echo "DllBuild Cp"
cp ./bin/z3_bindings_ref_es5.js ./bin/package.js
fi

exit 0
8 changes: 0 additions & 8 deletions templates/package.js

This file was deleted.

0 comments on commit 7221aab

Please sign in to comment.