deprec-2.2.2 - Now with Rake!

12 views
Skip to first unread message

Mike Bailey

unread,
Jul 14, 2011, 11:18:27 AM7/14/11
to deprec...@googlegroups.com
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!

# Gemfile
gem 'deprec', :require => 'deprec/rake'

$ rake -T deprec
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.

Expect to see more tasks becoming available on http://deprec.org

- Mike
Reply all
Reply to author
Forward
0 new messages