forked from MapComplete/MapComplete
Scripts: create build script
This commit is contained in:
parent
4e3505a66e
commit
714bed7c51
1 changed files with 12 additions and 0 deletions
12
scripts/buildAndroid.sh
Executable file
12
scripts/buildAndroid.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# to be run from the repo root
|
||||||
|
nvm use
|
||||||
|
npm run generate:layeroverview
|
||||||
|
./scripts/prepareAndroid.sh
|
||||||
|
|
||||||
|
cd android
|
||||||
|
./gradlew assemble
|
||||||
|
|
||||||
|
# Output location of the apk:
|
||||||
|
# MapComplete/android/app/build/outputs/apk/release/app-release-unsigned.apk
|
||||||
|
scp ./app/build/outputs/apk/release/app-release-unsigned.apk hetzner:apk/mapcomplete-latest.apk
|
Loading…
Add table
Add a link
Reference in a new issue