spr standalone
This commit is contained in:
22
ctrl/build.sh
Executable file
22
ctrl/build.sh
Executable file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
# Build soleprint for local development
|
||||
#
|
||||
# Usage:
|
||||
# ./build.sh # Build gen/ with default config
|
||||
# ./build.sh amar # Build gen/ with amar room config
|
||||
|
||||
set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
CFG="${1:-}"
|
||||
|
||||
if [ -n "$CFG" ]; then
|
||||
echo "Building with --cfg $CFG..."
|
||||
python build.py dev --cfg "$CFG"
|
||||
else
|
||||
echo "Building soleprint..."
|
||||
python build.py dev
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Done. Run with: ./ctrl/start.sh"
|
||||
Reference in New Issue
Block a user