more restructuring
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
#!/bin/bash
|
||||
# Build soleprint for local development
|
||||
#
|
||||
# Usage:
|
||||
# ./build.sh # Build gen/standalone/
|
||||
# ./build.sh amar # Build gen/amar/
|
||||
# ./build.sh --all # Build all targets
|
||||
|
||||
set -e
|
||||
cd "$(dirname "$0")/.."
|
||||
|
||||
TARGET="${1:-}"
|
||||
|
||||
if [ "$TARGET" = "--all" ]; then
|
||||
echo "Building all targets..."
|
||||
python build.py --all
|
||||
elif [ -n "$TARGET" ]; then
|
||||
echo "Building gen/$TARGET/..."
|
||||
python build.py --cfg "$TARGET"
|
||||
else
|
||||
echo "Building gen/standalone/..."
|
||||
python build.py
|
||||
fi
|
||||
|
||||
echo ""
|
||||
echo "Done. Run with: ./ctrl/start.sh [target]"
|
||||
Reference in New Issue
Block a user