mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-09 19:01:08 +00:00
Move scripts to scripts folder and update readme (#2331)
* 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
This commit is contained in:
committed by
Bastian Köcher
parent
61d38cce5c
commit
c4cbfb355c
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/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
|
||||
Reference in New Issue
Block a user