diff options
-rwxr-xr-x | run | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -7,6 +7,7 @@ KEYSTORE="/home/jeyzu/etc/sync/jeyzu-key.keystore" APK="./android/build/apk/android-release-unsigned.apk" ZIPALIGN="/opt/android-sdk/build-tools/23.0.2/zipalign" APK_OUT="./RustAndDust-signed-aligned.apk" +DB_FILES="./android/assets/data/*.sqlite" function gradlew_do() { @@ -31,6 +32,12 @@ case "$1" in ARGS="android:assembleRelease$@" gradlew_do ;; + "q") + shift; + ARGS="$ARGS $@" + rm $DB_FILES 2>/dev/null + gradlew_do + ;; "s") shift; ARGS="android:assembleRelease$@" |