tasks

Created: 2008-09-03 15:01
Updated: 2016-07-26 16:14

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.

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more