Add build_sync_android.sh

This commit is contained in:
MartinBraquet
2025-10-30 23:03:16 +01:00
parent 88b7e4edda
commit adfb3ca4f0
2 changed files with 12 additions and 0 deletions

View File

@@ -17,6 +17,7 @@
"prod": "./scripts/run_local.sh prod",
"clean-install": "./scripts/install.sh",
"build-web": "./scripts/build_web.sh",
"build-sync-android": "./scripts/build_sync_android.sh",
"migrate": "./scripts/migrate.sh",
"test": "jest",
"test:watch": "jest --watch",

11
scripts/build_sync_android.sh Executable file
View File

@@ -0,0 +1,11 @@
#!/bin/bash
set -e
cd "$(dirname "$0")"/..
yarn build-web
source web/.env
npx cap sync android