mirror of
https://github.com/fluencelabs/wasm-utils
synced 2025-06-27 13:31:37 +00:00
fix build script
This commit is contained in:
@ -14,11 +14,4 @@ else
|
|||||||
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 ]
|
cargo run --manifest-path=./../gas/Cargo.toml --release -- ./out/contract.wasm ./out/contract.wasm
|
||||||
then
|
|
||||||
echo "No gas utility, compile it in /gas folder with"
|
|
||||||
echo "cargo build --release"
|
|
||||||
else
|
|
||||||
cargo run --manifest-path=./../gas/Cargo.toml --release -- ./out/contract.wasm ./out/contract.wasm
|
|
||||||
# echo "Removed gasification"
|
|
||||||
fi
|
|
||||||
|
Reference in New Issue
Block a user