diff options
author | bloodstalker <thabogre@gmail.com> | 2018-07-14 10:44:56 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-07-14 10:44:56 +0000 |
commit | 2cae0e54f7bec588fbceb1e91c6023923abc1d1c (patch) | |
tree | 471f824bed5af2347c7b0a6378344c127bf11efc /run.sh | |
parent | first commit (diff) | |
download | luatablegen-2cae0e54f7bec588fbceb1e91c6023923abc1d1c.tar.gz luatablegen-2cae0e54f7bec588fbceb1e91c6023923abc1d1c.zip |
update
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |