Files
soleprint/ctrl/build.sh
buenosairesam 21b8eab3cb spr standalone
2025-12-31 08:42:03 -03:00

23 lines
446 B
Bash
Executable File

#!/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"