sbfaulkner / tasks

standard rake tasks

This URL has Read+Write access

sbfaulkner (author)
Mon Sep 08 08:34:28 -0700 2008
commit  3e4915413c00f9e493eff8d7104ea6b011784fbb
tree    a65a4ed5cafda7473022564a281eb49bf2c594a9
parent  1d52ce166903b7e4ed0749e3254e12a09d23b439
tasks /
README.markdown

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.