blob: a4afb66e415b89e84ff15ab330444ff4612873fd (
plain) (
blame)
1
2
3
4
5
6
7
8
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
|