fix call update

This commit is contained in:
NikVolf
2017-04-12 18:44:03 +03:00
parent 96e6073006
commit d8626454bc
3 changed files with 19 additions and 11 deletions
+5 -4
View File
@@ -14,9 +14,10 @@ else
emcc $file -Os -s WASM=1 -s SIDE_MODULE=1 -o out/contract.wasm
fi
if [ ! -f ./../gas/target/release/gas ] && [ ! -f ./../gas/target/release/gas.exe ] then
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"
echo "cargo build --release"
else
./../gas/target/release/gas ./out/contract.wasm ./out/contract.wasm
fi
./../gas/target/release/gas ./out/contract.wasm ./out/contract.wasm