feat: initialize Kurdistan SDK - independent fork of Polkadot SDK
This commit is contained in:
Executable
+23
@@ -0,0 +1,23 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -e
|
||||
|
||||
cumulus_repo=$(cd "$(dirname "$0")" && git rev-parse --show-toplevel)
|
||||
pezkuwi_repo=$(dirname "$cumulus_repo")/pezkuwi
|
||||
if [ ! -d "$pezkuwi_repo/.git" ]; then
|
||||
echo "please clone pezkuwi in parallel to this repo:"
|
||||
echo " (cd .. && git clone git@github.com:paritytech/pezkuwi.git)"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ -z "$BRANCH" ]; then
|
||||
BRANCH=cumulus-branch
|
||||
fi
|
||||
|
||||
cd "$pezkuwi_repo"
|
||||
git fetch
|
||||
git checkout "$BRANCH"
|
||||
time docker build \
|
||||
-f ./docker/Dockerfile \
|
||||
--build-arg PROFILE=release \
|
||||
-t pezkuwi:"$BRANCH" .
|
||||
Reference in New Issue
Block a user