mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
TST: minor e2e refactor
This commit is contained in:
parent
0a2c700781
commit
1101cb604d
@ -21,7 +21,7 @@
|
||||
"type": "android.apk",
|
||||
"testBinaryPath": "android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk",
|
||||
"binaryPath": "android/app/build/outputs/apk/release/app-release.apk",
|
||||
"build": "find android | grep '\\.apk' --color=never | xargs -l rm\n\n# creating fresh keystore\nrm detox.keystore\nkeytool -genkeypair -v -keystore detox.keystore -alias detox -keyalg RSA -keysize 2048 -validity 10000 -storepass 123456 -keypass 123456 -dname 'cn=Unknown, ou=Unknown, o=Unknown, c=Unknown'\n\n# building release APK\ncd android && ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release && cd ..\n\n# wip\nfind $ANDROID_HOME | grep apksigner\n\n# signing\nmv ./android/app/build/outputs/apk/release/app-release-unsigned.apk ./android/app/build/outputs/apk/release/app-release.apk\n$ANDROID_HOME/build-tools/30.0.2/apksigner sign --ks detox.keystore --ks-pass=pass:123456 ./android/app/build/outputs/apk/release/app-release.apk\n$ANDROID_HOME/build-tools/30.0.2/apksigner sign --ks detox.keystore --ks-pass=pass:123456 ./android/app/build/outputs/apk/androidTest/release/app-release-androidTest.apk"
|
||||
"build": "./tests/e2e/detox-build-release-apk.sh"
|
||||
}
|
||||
},
|
||||
"devices": {
|
||||
|
@ -1,5 +1,4 @@
|
||||
# script thats used to build & sign release APK in preparation for Detox e2e testing.
|
||||
# should be copied in .detoxrc.json - apps - android.release - build
|
||||
|
||||
# deleting old artifacts
|
||||
find android | grep '\.apk' --color=never | xargs -l rm
|
||||
|
Loading…
Reference in New Issue
Block a user