Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
polkadot
Commits
305d5097
Commit
305d5097
authored
Jun 08, 2018
by
Sergey Pepyakin
Browse files
Refactor build scripts.
parent
d1ca2c3a
Changes
4
Hide whitespace changes
Inline
Side-by-side
parachain/test-chains/basic_add/build.sh
0 → 100755
View file @
305d5097
#!/bin/bash
set
-e
# Make LLD produce a binary that imports memory from the outside environment.
export
RUSTFLAGS
=
"-C link-arg=--import-memory"
cargo +nightly build
--target
=
wasm32-unknown-unknown
--release
--no-default-features
for
i
in
basic_add
do
wasm-gc target/wasm32-unknown-unknown/release/
$i
.wasm target/wasm32-unknown-unknown/release/
$i
.compact.wasm
done
parachain/test-chains/build.sh
View file @
305d5097
#!/bin/sh
#!/bin/
ba
sh
set
-e
set
-e
rm
-rf
./target
rm
-rf
./target
...
...
runtime/wasm/build.sh
View file @
305d5097
#!/bin/sh
#!/bin/
ba
sh
set
-e
set
-e
cargo +nightly build
--target
=
wasm32-unknown-unknown
--release
cargo +nightly build
--target
=
wasm32-unknown-unknown
--release
...
...
runtime/wasm/init.sh
deleted
100755 → 0
View file @
d1ca2c3a
#!/bin/sh
rustup update nightly
rustup target add wasm32-unknown-unknown
--toolchain
nightly
rustup update stable
cargo +nightly
install
--git
https://github.com/alexcrichton/wasm-gc
cargo +nightly
install
--git
https://github.com/pepyakin/wasm-export-table.git
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment