On Jan 8, 2009, at 9:05 PM, Adam Murdoch wrote:
Hans Dockter wrote:
Right now gradle -t produces an output like:
------------------------------------------------------------
Project :api
------------------------------------------------------------
Task :api:archive_jar [:api:test, :shared:archive_jar]
Task :api:archive_spi_jar [:api:test]
Task :api:clean [:shared:clean]
Task :api:compile
[:api:resources, :shared:compile, :shared:uploadInternalLibs]
Task :api:dists [:api:libs, :shared:dists]
Task :api:eclipse
[:api:eclipseCp, :api:eclipseProject, :shared:eclipse]
...
It would be nice to add the default tasks to the output. We also
want to introduce a new property for a task called something like
'description'. I'm wondering about a nice way of integrating this
into the output. What about this one?
------------------------------------------------------------
Project :api
------------------------------------------------------------
Default Tasks: :api:clean, :api:compile
Task :api:archive_jar [:api:test, :shared:archive_jar] - Creates
the default archive
...
This might get a bit squished if we put all this on one line. We
could probably ditch the 'Task', and maybe split the details of each
task into several lines:
------------------------------------------------------------
Project :api
------------------------------------------------------------
Default Tasks: :api:clean, :api:compile
:api:archive_jar - Creates the default archive
-> :api:test, :shared:archive_jar
:api:compile - Does some stuff
-> :api:resources, :shared:compile, :shared:uploadInternalLibs
I have implemented it like this.
- Hans
Adam
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
--
Hans Dockter
Gradle Project lead
http://www.gradle.org
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email