mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 21:37:56 +00:00
567122fab5
* Make runtime macros work without required `macro_use` * Adds node-template * Adds node-template-release tool * Fixes building `node-template` and improve the release * Add `profile.release` by release script to remove warning * Adds script for releasing the node template * Fixes compilation after master merge * Port node-template to edition 2018 * Remove license * Fixes compilation after master merge * Add `node-template-release.sh` into the CI * WIP Ci integrate node template (#1701) * copy artifacts to s3 bucket latest path * typo * bucket name * Update wasm files
27 lines
422 B
Bash
Executable File
27 lines
422 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
PROJECT_ROOT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
|
|
|
export CARGO_INCREMENTAL=0
|
|
|
|
bold=$(tput bold)
|
|
normal=$(tput sgr0)
|
|
|
|
# Save current directory.
|
|
pushd . >/dev/null
|
|
|
|
for SRC in runtime/wasm
|
|
do
|
|
echo "${bold}Building webassembly binary in $SRC...${normal}"
|
|
cd "$PROJECT_ROOT/$SRC"
|
|
|
|
./build.sh
|
|
|
|
cd - >> /dev/null
|
|
done
|
|
|
|
# Restore initial directory.
|
|
popd >/dev/null
|