1
0
Fork 0

For #6931: Change README forPerformanceTest signingConfig to debug.

master
Michael Comella 2019-12-26 07:36:09 -08:00 committed by Michael Comella
parent f272a54d59
commit 4291b3c72b
1 changed files with 2 additions and 12 deletions

View File

@ -105,15 +105,7 @@ You will **need to sign `forPerformanceTest` variants.** For local development,
```groovy
android { // this line already exists
signingConfigs {
forPerformanceTest {
storeFile file("/Users/<user-name>/.android/debug.keystore")
storePassword "android"
keyAlias "androiddebugkey"
keyPassword "android"
}
}
// ...
buildTypes { // this line already exists
// ...
@ -121,14 +113,12 @@ android { // this line already exists
forPerformanceTest releaseTemplate >> { // this line already exists.
// ...
signingConfig signingConfigs.forPerformanceTest
signingConfig signingConfigs.debug
}
}
}
```
Where `<user-name>` is your OS user name. This sample assumes you are using macOS: if you're on another OS, please update the path appropriately.
This recommendation will let you use AS just like you do with debug builds but **please do not check in these changes.**
See [perf-frontend-issues#44](https://github.com/mozilla-mobile/perf-frontend-issues/issues/44) for efforts to make performance signing easier.