diff options
author | bloodstalker <thabogre@gmail.com> | 2018-06-26 10:43:45 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2018-06-26 10:43:45 +0000 |
commit | 31d095d97c63bb9b9fa9a12ae00998c05a5e48b4 (patch) | |
tree | 6bf678e7dcd8f311ba1ca5daac5c5bcd2a7cfd05 /run.sh | |
parent | Initial commit (diff) | |
download | luatablegen-31d095d97c63bb9b9fa9a12ae00998c05a5e48b4.tar.gz luatablegen-31d095d97c63bb9b9fa9a12ae00998c05a5e48b4.zip |
first commit
Diffstat (limited to '')
-rwxr-xr-x | run.sh | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -0,0 +1,9 @@ +#!/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 +for filename in ../../bruiser/luatablegen/*.c; do + gcc -c $filename > /dev/null 2>&1 + if [[ $? != 0 ]]; then + echo $filename did not compile. + fi +done |