diff options
| author | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-11-10 09:23:16 +0100 |
|---|---|---|
| committer | Johannes Hofmann <Johannes.Hofmann@gmx.de> | 2026-11-10 09:23:23 +0100 |
| commit | 1c5ba71b7c696c2e0479326b6ec3bcc8e4bd23a1 (patch) | |
| tree | beea6e13b3aa1577ebb796b3c39b4671f65a9149 /wipfel-droid/build.sh | |
| parent | 45a4b80a3d44f054a471cd417c7c2698f4770599 (diff) | |
gipfel-droid: rename from wipfel-droid
Directory, Kotlin package (org.flpsed.gipfel), applicationId/namespace,
app label and gradle project name — the wipfel working name is gone
from anything that ships.
Diffstat (limited to 'wipfel-droid/build.sh')
| -rwxr-xr-x | wipfel-droid/build.sh | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/wipfel-droid/build.sh b/wipfel-droid/build.sh deleted file mode 100755 index 247fd48..0000000 --- a/wipfel-droid/build.sh +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env bash -# Build the wipfel Android wrapper: wasm site -> assets -> debug APK. -# Requires: wasm32 target + wasm-bindgen (cargo), Android SDK, JDK 17+. -set -euo pipefail -here="$(cd "$(dirname "$0")" && pwd)" -repo="$(cd "$here/.." && pwd)" - -export ANDROID_HOME="${ANDROID_HOME:-$HOME/android-sdk}" -export PATH="$PATH:$HOME/.cargo/bin" - -echo "==> building wipfel release site" -( cd "$repo/crates/gipfel" && ./build-release.sh >/dev/null ) - -echo "==> staging assets" -mkdir -p "$here/app/src/main/assets/www" -rm -f "$here/app/src/main/assets/www/"* -cp "$repo/dist/gipfel/"* "$here/app/src/main/assets/www/" - -echo "==> gradle assembleDebug" -( cd "$here" && ./gradlew assembleDebug --no-daemon -q ) - -apk="$here/app/build/outputs/apk/debug/app-debug.apk" -echo "==> done: $apk ($(stat -c%s "$apk") bytes)" -echo " install: adb install -r $apk" |
