aboutsummaryrefslogtreecommitdiffstats
path: root/bruiser/tablegen.sh
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-06-10 03:17:39 +0000
committerbloodstalker <thabogre@gmail.com>2018-06-10 03:17:39 +0000
commit394262751bd166606a11c9db1e16a08b177ad807 (patch)
tree99a090bff851b97103e458f3ea1048d3a31187b7 /bruiser/tablegen.sh
parentadded the autogen files, should also fix travis (diff)
downloadmutator-394262751bd166606a11c9db1e16a08b177ad807.tar.gz
mutator-394262751bd166606a11c9db1e16a08b177ad807.zip
fix
Diffstat (limited to 'bruiser/tablegen.sh')
-rwxr-xr-xbruiser/tablegen.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/bruiser/tablegen.sh b/bruiser/tablegen.sh
index 5172d60..03a660c 100755
--- a/bruiser/tablegen.sh
+++ b/bruiser/tablegen.sh
@@ -1,5 +1,7 @@
#!/usr/bin/bash
cd $(dirname $0)
../extra-tools/luatablegen.py --tbg ./wasmtablegen.json --out ./luatablegen --luaheader ../lua-5.3.4/src --pre ./luatablegen/wasmheader.txt --headeraggr ./luatablegen/wasm_tables.h --lualibpath ./lua-scripts/wasm.lua
-make -C ./luatablegen
-make clean
+if [[ $1 == test ]]; then
+ make -C ./luatablegen
+ make clean
+fi