Integrate shared C transport with desktop and Android frontends, add radio probes and detailed Windows diagnostics, and fix GUI build dependencies and early configuration startup errors.
9 lines
438 B
Bash
Executable File
9 lines
438 B
Bash
Executable File
#!/bin/bash
|
|
# По умолчанию только сборка и проверки. install <serial> — установка готового APK.
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")"
|
|
./gradlew :ble-transport:testDebugUnitTest :ble-transport:lintDebug :app:assembleDebug :app:lintDebug
|
|
if [[ "${1:-}" == install ]]; then
|
|
adb -s "${2:?Usage: ./build.sh install DEVICE_SERIAL}" install -r app/build/outputs/apk/debug/app-debug.apk
|
|
fi
|