Initial commit from Weevil

This commit is contained in:
Eric Ratliff
2026-02-03 21:57:40 -06:00
commit a5506dea02
15 changed files with 617 additions and 0 deletions

21
build.sh Normal file
View File

@@ -0,0 +1,21 @@
#!/bin/bash
set -e
# Read SDK path from config
SDK_DIR=$(grep '^ftc_sdk_path' .weevil.toml | sed 's/.*= "\(.*\)"/\1/')
if [ -z "$SDK_DIR" ]; then
echo "Error: Could not read FTC SDK path from .weevil.toml"
exit 1
fi
echo "Building project..."
echo "Using FTC SDK: $SDK_DIR"
./gradlew buildApk
echo ""
echo "✓ Build complete!"
echo ""
APK=$(find "$SDK_DIR" -path "*/outputs/apk/debug/*.apk" 2>/dev/null | head -1)
if [ -n "$APK" ]; then
echo "APK: $APK"
fi