aboutsummaryrefslogtreecommitdiffstats
path: root/run.sh
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2018-07-14 10:44:56 +0000
committerbloodstalker <thabogre@gmail.com>2018-07-14 10:44:56 +0000
commit2cae0e54f7bec588fbceb1e91c6023923abc1d1c (patch)
tree471f824bed5af2347c7b0a6378344c127bf11efc /run.sh
parentfirst commit (diff)
downloadluatablegen-2cae0e54f7bec588fbceb1e91c6023923abc1d1c.tar.gz
luatablegen-2cae0e54f7bec588fbceb1e91c6023923abc1d1c.zip
update
Diffstat (limited to '')
-rwxr-xr-xrun.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/run.sh b/run.sh
index a4afb66..12b86db 100755
--- a/run.sh
+++ b/run.sh
@@ -1,6 +1,7 @@
#!/usr/bin/bash
cd $(dirname $0)
-../luatablegen.py --tbg ../wasmtablegen.json --out ./ --luaheader ../../bruiser/lua-5.3.4/src --pre ./wasmheader.txt --headeraggr ../../bruiser/luatablegen/wasm_tables.h --lualibpath ./wasm.lua --docpath ./wasm.md
+if [[ -d ./out ]]; then :;else mkdir ./out;fi
+./luatablegen.py --tbg ./test/wasmtablegen.json --out ./out --luaheader /home/bloodstalker/devi/hell2/bruiser/lua-5.3.4/src --pre ./test/wasmheader.txt --headeraggr ./out/wasm_tables.h --lualibpath ./out/wasm.lua --docpath ./out/wasm.md
for filename in ../../bruiser/luatablegen/*.c; do
gcc -c $filename > /dev/null 2>&1
if [[ $? != 0 ]]; then