[Nitro] [PATCH] beginning of a rake file
george.moschovitis at gmail.com
Fri Jun 15 11:57:14 EDT 2007
This looks nice :)
I am glad you are taking the specs thing seriously!
On 6/15/07, arne at arnebrasseur.net <arne at arnebrasseur.net> wrote:
> I'm looking at the best way to organise the test/spec infrastructure, but
> something with a rakefile seems the way to go. To that end I created a
> rakefile and a rake_tasks directory, and moved the most obvious stuff from
> script/ to rake_tasks/
> So issuing rake -T now gives you
> rake cleanup:all # Perform all cleanup tasks
> rake cleanup:cache # Cleanup caches
> rake cleanup:dist # Cleanup distribution dirs
> rake cleanup:misc # cleanup miscelanious files
> rake cleanup:rdoc # Cleanup rDoc directories
> rake darcs:apply # Apply a patch bundle to the darcs repository
> rake dist # Create gem and zip distributions
> rake tabs # Convert tabs to spaces and \r\n to \n
> have been replaced with
> The only thing is that with rake it's not so easy to pass additional
> command line arguments to your tasks, AFAIK. So for apply i resorted to
> using environment variables :
> BUNDLE=some_bundle rake darcs:apply
> As said a rake_tasks/spec.rake is coming, I'm looking at the rspec rake
> tasks, and at how Ramaze does it since they don't use the rSpec task.
> Sorry for the empty mail.
> Nitro-general mailing list
> Nitro-general at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Nitro-general