
Some parts of this message have been removed.
Learn more about Nabble's
security policy.
[10447] gant/trunk/build.gradle: Add descriptions to the local install and uninstall tasks.
- Revision
- 10447
- Author
- russel
- Date
- 2009-11-10 04:29:38 -0600 (Tue, 10 Nov 2009)
Log Message
Add descriptions to the local install and uninstall tasks.
Modified Paths
Diff
Modified: gant/trunk/build.gradle (10446 => 10447)
--- gant/trunk/build.gradle 2009-11-09 17:42:07 UTC (rev 10446)
+++ gant/trunk/build.gradle 2009-11-10 10:29:38 UTC (rev 10447)
@@ -166,8 +166,8 @@
dependencies { groovy ( 'org.codehaus.groovy:groovy-all:' + groovyVersion ) }
compileGroovy.doFirst { println ( '\n\tUsing Groovy version ' + groovyVersion + '\n' ) }
test.doFirst { groovyAntTaskTestVersionPropertyFile.write ( 'groovyAntTaskTestVersion = ' + groovyVersion ) }
- task install ( dependsOn : 'assemble' ) << {
- def installDirectory = evaluate ( '"' + ( gant_installPath ?: '/usr/share/gant' ) + '"' )
+ def installDirectory = evaluate ( '"' + ( gant_installPath ?: '/usr/share/gant' ) + '"' )
+ task install ( dependsOn : 'assemble' , description : "Install Gant (compiled against Groovy ${groovyVersion}) to ${installDirectory}." ) << {
def installBinDirectory = installDirectory + '/bin'
def scriptsDirectory = '../scripts'
copy {
@@ -185,7 +185,7 @@
from ( [ 'build/libs' , '../jarfiles' ] )
}
}
- task uninstall << { ant.delete ( dir : evaluate ( /"${gant_installPath}"/ ) ) }
+ task uninstall ( description : "Delete ${installDirectory} so as to remove the Gant installation." ) << { ant.delete ( dir : installDirectory ) }
}
ciBuildTasks = [ ]
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email