I woke up this morning with a great idea. What if deprec could include rake tasks as well as cap tasks?
This would be handy when working on your dev box and would make for some simpler cap tasks that simply
call rake tasks with the same name.
I hacked together a proof of concept. Bundler is the final piece that makes it all screamingly easy.
Check this out!
# Gemfilegem 'deprec', :require => 'deprec/rake'
rake deprec:db:backup # Backup the database to a file.
rake deprec:db:restore # Restore database [pending]
Thanks to Craig Ambrose for the database backup task.
- Mike