make prompt more explicit

// FREEBIE
This commit is contained in:
Rhodey Orbits 2015-05-29 11:23:12 -07:00 committed by Moxie Marlinspike
parent a0246836a8
commit 4d8108f34d

View File

@ -245,12 +245,14 @@ if (propFile.canRead()){
}
if (project.hasProperty('espresso') && System.console() != null) {
println "____________________WARNING_____________________"
println "______________________WARNING_______________________"
println "ALL YOUR CONTACTS WILL BE DELETED IN THE PROCESS"
println "OF RUNNING THESE TESTS, TYPE 'espresso' TO CONTINUE"
println "OF RUNNING THESE TESTS, TYPE 'delete all my contacts'"
println "TO CONTINUE"
println "----------------------------------------------------"
def input = System.console().readLine(':')
if (input == 'espresso') {
if (input == 'delete all my contacts') {
android.productFlavors {
base {}
espresso {