Build parachains (#207)

* Fix build of test-chains.

* Add test-chains into build and publish scripts
This commit is contained in:
Sergey Pepyakin
2018-06-08 13:52:58 +03:00
committed by Robert Habermeier
parent 8d0ae856b0
commit 977b349ca0
6 changed files with 27 additions and 24 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/sh
set -e
rm -rf ./target
for i in */
do
i=${i%/}
cd $i
RUSTFLAGS="-C link-arg=--import-memory" cargo +nightly build --target=wasm32-unknown-unknown --release --no-default-features
wasm-gc target/wasm32-unknown-unknown/release/$i.wasm ../../tests/res/$i.wasm
cd ..
done