mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-05-10 22:17:13 +00:00
gas utility in builder
This commit is contained in:
parent
da65f1d009
commit
96e6073006
@ -13,3 +13,10 @@ else
|
|||||||
# c/c++ can be compiled directly by emcc
|
# c/c++ can be compiled directly by emcc
|
||||||
emcc $file -Os -s WASM=1 -s SIDE_MODULE=1 -o out/contract.wasm
|
emcc $file -Os -s WASM=1 -s SIDE_MODULE=1 -o out/contract.wasm
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f ./../gas/target/release/gas ] && [ ! -f ./../gas/target/release/gas.exe ] then
|
||||||
|
echo "No gas utility, compile it in /gas folder with"
|
||||||
|
echo "cargo build --release"
|
||||||
|
fi
|
||||||
|
|
||||||
|
./../gas/target/release/gas ./out/contract.wasm ./out/contract.wasm
|
Loading…
x
Reference in New Issue
Block a user