Last active
October 28, 2020 00:59
-
-
Save stringhandler/cc4b13360c3ef138489c1a035f174b21 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf ~/temp/git/tari | |
mkdir ~/temp/git | |
cd ~/temp/git | |
git clone https://github.com/tari-project/tari.git | |
git checkout development | |
cd tari | |
NOW=$(date +"%Y-%m-%d") | |
COMMIT=$(git log --pretty=format:'%h' -n 1) | |
OUTDIR=~/build/nightly/$NOW-$COMMIT | |
echo $COMMIT | |
echo $OUTDIR | |
cargo build --release --out-dir "$OUTDIR" -Z unstable-options | |
cp ~/util/nightly-source/* $OUTDIR |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# goes in ~/util/nightly-source/start_archival | |
EXEPATH=$PWD | |
BUILDNAME=${PWD##*/} | |
BASEPATH=~/build/data/nightly/$BUILDNAME/archival | |
echo $BASEPATH | |
mkdir $BASEPATH | |
cd $BASEPATH | |
echo $EXEPATH | |
$EXEPATH/tari_base_node --base-path $BASEPATH --init | |
$EXEPATH/tari_base_node --base-path $BASEPATH --create-id | |
$EXEPATH/tari_base_node --base-path $BASEPATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment