state sync; the basic early game works
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
BUILD_DIR=${BUILD_DIR:-./build}
|
||||
srcdir=$(pwd)
|
||||
BUILD_DIR=${BUILD_DIR:-$srcdir/build}
|
||||
echo "$srcdir => $BUILD_DIR"
|
||||
|
||||
die () {
|
||||
echo "$@" >&2
|
||||
@@ -15,14 +17,13 @@ findcmd cargo
|
||||
findcmd python
|
||||
findcmd rsync
|
||||
|
||||
srcdir=$(pwd)
|
||||
mkdir -p $BUILD_DIR && cd $BUILD_DIR
|
||||
rsync -rv $srcdir/ $BUILD_DIR/
|
||||
rsync -rv --include-from=$srcdir/.rsync-include $srcdir/ $BUILD_DIR/
|
||||
|
||||
# rant
|
||||
mkdir -p opt/rant
|
||||
cargo install rant --version 4.0.0-alpha.33 --root $BUILD_DIR/opt/rant --features cli
|
||||
python $srcdir/ext/imsky/wordlists/render.py -i ext/imsky/wordlists -o rant $BUILD_DIR/app/rant/wordlist.rant
|
||||
python $srcdir/render-wordlists.py -i $srcdir/ext/imsky/wordlists -o rant $BUILD_DIR/app/rant/wordlist.rant
|
||||
|
||||
# python venv
|
||||
python -m venv pyvenv
|
||||
|
Reference in New Issue
Block a user