Planungen android
All checks were successful
Deploy to production / deploy (push) Successful in 2m17s
All checks were successful
Deploy to production / deploy (push) Successful in 2m17s
This commit is contained in:
13
android/scripts/build-android-debug.sh
Executable file
13
android/scripts/build-android-debug.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
ANDROID_PROJECT_DIR="$ROOT_DIR/android/android"
|
||||
|
||||
if [[ ! -x "$ANDROID_PROJECT_DIR/gradlew" ]]; then
|
||||
echo "Android-Projekt fehlt. Fuehre zuerst aus: cd android && npm run add:android" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cd "$ANDROID_PROJECT_DIR"
|
||||
./gradlew assembleDebug
|
||||
7
android/scripts/build-android-web.sh
Executable file
7
android/scripts/build-android-web.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
|
||||
cd "$ROOT_DIR/frontend"
|
||||
npm run build -- --mode android
|
||||
7
android/scripts/sync-android.sh
Executable file
7
android/scripts/sync-android.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
|
||||
|
||||
cd "$ROOT_DIR/android"
|
||||
npx cap sync android
|
||||
Reference in New Issue
Block a user