summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrun7
1 files changed, 7 insertions, 0 deletions
diff --git a/run b/run
index eff0d1d..93c46a0 100755
--- a/run
+++ b/run
@@ -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$@"