source: branches/features/grailsUpgrade/scripts/_Events.groovy @ 897

Last change on this file since 897 was 528, checked in by gav, 15 years ago

Prevent updateVcsRevision running in test environment.

File size: 245 bytes
Line 
1
2includeTargets << new File("${basedir}/scripts/_UpdateRev.groovy")
3
4eventCompileStart = { msg ->
5    if(System.getProperty("grails.env") != "test") {
6        println "Compile started, checking VCS Revision."
7        updateVcsRevision()
8    }
9}
Note: See TracBrowser for help on using the repository browser.