Skip to content

Commit

Permalink
8148065: correct whitespace detection tool (again)
Browse files Browse the repository at this point in the history
Reviewed-by: kcr
  • Loading branch information
ddhill committed Jan 22, 2016
1 parent f8a5cca commit 344fd4e
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3477,6 +3477,23 @@ compileTargets { t ->
openZip.dependsOn(zipTask)
}

task checkrepo() {
doLast {
logger.info("checking for whitespace (open)");
exec {
commandLine 'bash', 'tools/scripts/checkWhiteSpace'
}
}
}

task checkrepoall() {
doLast {
logger.info("checking for all whitespace (open)");
exec {
commandLine 'bash', 'tools/scripts/checkWhiteSpace', '-a'
}
}
}

/******************************************************************************
* *
Expand Down Expand Up @@ -3509,10 +3526,3 @@ compileTargets { t ->
)
}

task checkrepo(type:Exec) {
commandLine 'bash', 'tools/scripts/checkWhiteSpace'
}

task checkrepoall(type:Exec) {
commandLine 'bash', 'tools/scripts/checkWhiteSpace', '-a'
}

0 comments on commit 344fd4e

Please sign in to comment.