-
-
Notifications
You must be signed in to change notification settings - Fork 670
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ae43aa8
commit 4ab949b
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
tc() { set ${*,,} ; echo ${*^} ; } | ||
adb reverse tcp:8081 tcp:8081 || true | ||
rm -rf $(PWD)/native/android/app/build/outputs/bundle || true | ||
cd native/android && ./gradlew bundleDebug | ||
cd native/android && ./gradlew bundle$2 | ||
cd ../../ | ||
java -jar $HOME/bundletool/bundletool-all-1.13.2.jar build-apks --overwrite --local-testing --bundle $(PWD)/native/android/app/build/outputs/bundle/debug/app-debug.aab --output $(PWD)/native/android/app/build/outputs/bundle/debug/apkset.apks | ||
java -jar $HOME/bundletool/bundletool-all-1.13.2.jar install-apks --apks $(PWD)/native/android/app/build/outputs/bundle/debug/apkset.apks | ||
java -jar $HOME/bundletool/bundletool-all-1.13.2.jar build-apks --overwrite --local-testing --bundle $(PWD)/native/android/app/build/outputs/bundle/$1/app-$1.aab --output $(PWD)/native/android/app/build/outputs/bundle/$0/apkset.apks | ||
java -jar $HOME/bundletool/bundletool-all-1.13.2.jar install-apks --apks $(PWD)/native/android/app/build/outputs/bundle/$0/apkset.apks | ||
adb shell monkey -p com.streetwriters.notesnook 1 |