PATCH: default rake target (was Re: PATCH: installer source directory detection)

Doug Kearns dougkearns at gmail.com
Wed Jul 27 05:51:43 EDT 2005


On Wed, Jul 06, 2005 at 04:33:12PM +0100, Hugh Sasse wrote:

<snip>
 
> running rake on the Rakefile didn't create the gem -- it didn't
> "know" how to make Default.

See patch below...

> Since it looked like a gemspec file I
> just executed it instead of passing it to rake, but it produced
> nothing.  thus I can's seem to get a gem out of the CVS tarball to
> proceed that way either.

rake -T will list all the tasks.

Regards,
Doug


Index: Rakefile
===================================================================
RCS file: /var/cvs/vim-ruby/vim-ruby/Rakefile,v
retrieving revision 1.2
diff -u -r1.2 Rakefile
--- Rakefile    19 Sep 2004 15:36:50 -0000      1.2
+++ Rakefile    27 Jul 2005 09:42:37 -0000
@@ -8,6 +8,10 @@
 ]
 PACKAGE_VERSION = Time.now.strftime('%Y.%m.%d')

+desc "Build all the packages"
+task :default => :package
+
+
 def gemspec
   Gem::Specification.new do |s|
     s.name                  = PACKAGE_NAME


More information about the vim-ruby-devel mailing list