diff options
author | Parménides GV <parmegv@sdf.org> | 2013-05-29 16:06:31 +0200 |
---|---|---|
committer | Parménides GV <parmegv@sdf.org> | 2013-05-29 16:09:14 +0200 |
commit | a80f3ce0b074b99b6f66bf0c9db28f89d53e5847 (patch) | |
tree | 5d1664c823413edcd95b4ab4fe3981c75b55d7c5 /run.sh | |
parent | 086a98886a5b28c1f9426fd40c093bf2affa960e (diff) |
README now suggest to use scripts.
I've entered a new script: compile.sh
I've also simlinked README.txt to README. In the future, if we want to
write another file in another format (MarkDown?), we will only have to
change the target of the README file.
Diffstat (limited to 'run.sh')
-rwxr-xr-x | run.sh | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -22,7 +22,17 @@ wait_until_booted() { echo "Emulator booted!" } -emulator -wipe-data @$avd_name & # If you want to test the app from scratch +echo "Press \"y\" key and enter if you want to wipe emulator's data" +read wipe_data_or_not +if [ $wipe_data_or_not == "y" ] +then + echo "Wiping data" + emulator -wipe-data @$avd_name & # If you want to test the app from scratch +else + echo "Not wiping data" + emulator @$avd_name & # If you want to test the app from scratch +fi + wait_until_booted adb install -r $PROJECT_FOLDER/bin/LEAP\ Android-debug.apk # Install the new version of the application adb shell am start se.leap.leapclient/.Dashboard # Run app |