From b50eeb046d33c1d2eefa931bcdc44fee3af60ba6 Mon Sep 17 00:00:00 2001 From: NikVolf Date: Thu, 27 Apr 2017 12:42:07 +0300 Subject: [PATCH] fix build script --- runner/build.sh | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/runner/build.sh b/runner/build.sh index 7ff02e5..3065691 100755 --- a/runner/build.sh +++ b/runner/build.sh @@ -14,11 +14,4 @@ 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 - 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 +cargo run --manifest-path=./../gas/Cargo.toml --release -- ./out/contract.wasm ./out/contract.wasm