mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 20:27:58 +00:00
c4cbfb355c
* Move scripts to scripts folder and update readme * Update node-template/README.md Co-Authored-By: xlc <xlchen1291@gmail.com> * Update node-template/README.md Co-Authored-By: xlc <xlchen1291@gmail.com> * Update node-template/README.md Co-Authored-By: xlc <xlchen1291@gmail.com> * Update node-template/README.md Co-Authored-By: xlc <xlchen1291@gmail.com> * Update node-template/README.md Co-Authored-By: xlc <xlchen1291@gmail.com> * Update node-template/README.md Co-Authored-By: xlc <xlchen1291@gmail.com> * remove release flag
17 lines
402 B
Bash
Executable File
17 lines
402 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
echo "*** Initializing WASM build environment"
|
|
|
|
if [ -z $CI_PROJECT_NAME ] ; then
|
|
rustup update nightly
|
|
rustup update stable
|
|
fi
|
|
|
|
rustup target add wasm32-unknown-unknown --toolchain nightly
|
|
|
|
# Install wasm-gc. It's useful for stripping slimming down wasm binaries.
|
|
command -v wasm-gc || \
|
|
cargo +nightly install --git https://github.com/alexcrichton/wasm-gc --force
|