jellytau/scripts/build-and-deploy.sh
Duncan Tourolle 37455bc470
All checks were successful
🏗️ Build and Test JellyTau / Run Tests (pull_request) Successful in 3m57s
Traceability Validation / Check Requirement Traces (pull_request) Successful in 21s
🏗️ Build and Test JellyTau / Build Android APK (pull_request) Successful in 19m5s
Use incremental build
2026-07-02 20:01:43 +02:00

22 lines
472 B
Bash
Executable File

#!/bin/bash
# Build and deploy Android APK in one command
set -e
echo "🚀 Build and Deploy Android APK"
echo ""
# Pass all args (build type and/or --clean) through to the build script.
./scripts/build-android.sh "$@"
echo ""
# Deploy APK — extract build type (default debug), ignoring flags like --clean.
BUILD_TYPE="debug"
for arg in "$@"; do
case "$arg" in
debug|release) BUILD_TYPE="$arg" ;;
esac
done
./scripts/deploy-android.sh "$BUILD_TYPE"