Changeset 528 for trunk/scripts


Ignore:
Timestamp:
May 10, 2010, 8:28:07 AM (15 years ago)
Author:
gav
Message:

Prevent updateVcsRevision running in test environment.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scripts/_Events.groovy

    r526 r528  
    33
    44eventCompileStart = { msg ->
    5     println "Compile started, checking VCS Revision."
    6     updateVcsRevision()
     5    if(System.getProperty("grails.env") != "test") {
     6        println "Compile started, checking VCS Revision."
     7        updateVcsRevision()
     8    }
    79}
Note: See TracChangeset for help on using the changeset viewer.