make prompt more explicit

// FREEBIE
pull/1/head
Rhodey Orbits 10 years ago committed by Moxie Marlinspike
parent a0246836a8
commit 4d8108f34d

@ -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 {

Loading…
Cancel
Save