spr standalone

This commit is contained in:
buenosairesam
2025-12-31 08:42:03 -03:00
parent 680969ca42
commit 21b8eab3cb
5 changed files with 82 additions and 0 deletions

22
ctrl/build.sh Executable file
View 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"