Not logged in (Log in or Sign up)

tasks - generally useful rake tasks

Installation

You can use these any way you see fit, but I find it handy to do the following:

1. git clone git://github.com/sbfaulkner/tasks.git ~/tasks
2. add "alias rake='rake -R ~/tasks'" to my .bashrc
3. echo "task :default" >~/Rakefile

All the .rake files in ~/tasks are now available from anywhere under my home directory.

Tasks

deprecated

Checks your app and gently warns you if you are using deprecated code.
rake deprecated

fixtures

Create fixtures from the database for the current environment. Create specific fixtures using FIXTURES=x,y
rake db:fixtures:dump

git

Add files to git repository
rake git:add

Commit changes to repository
rake git:commit

Create a new git repository
rake git:init

rcov

Check test coverage using rcov
rake test:coverage

subversion

shortcut for adding new files
rake svn:add

Add new files to subversion
rake svn:add_new_files

Configure Subversion for Rails
rake svn:configure_for_svn

Legal

Author: S. Brent Faulkner brentf@unwwwired.net
License: Copyright © 2008 unwwwired.net, released under the MIT license.

Source code

github repository