[Rake-devel] A wafer thin change to gempackagetask.rb - add a desc

Daniel Berger djberg96 at gmail.com
Tue Nov 7 14:54:05 EST 2006


Hi Jim,

This adds a 'desc' to the gempackagetask.rb file.  That way "rake gem" shows
up as an option when a user runs "rake -T".

This diff is against svn trunk.

Regards,

Dan

--- gempackagetask.orig Tue Nov  7 12:43:10 2006
+++ gempackagetask.rb   Tue Nov  7 12:45:59 2006
@@ -77,6 +77,7 @@
     def define
       super
       task :package => [:gem]
+      desc "Build the gem"
       task :gem => ["#{package_dir}/#{gem_file}"]
       file "#{package_dir}/#{gem_file}" => [package_dir] + @gem_spec.files
do
         when_writing("Creating GEM") {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/rake-devel/attachments/20061107/1ef5a01b/attachment.html 


More information about the Rake-devel mailing list