697 B
697 B
RakeControl
RakeControl is a tool for managing Rake tasks.
Installation
Add this line to your application's Gemfile:
gem 'rake_control'
And then execute:
$ bundle
Configuration
Add this lines to the top of your application's Rakefile:
require 'rake_control'
RakeControl.configure do |c|
c.storage = :active_record # or :mongoid, :mongo_mapper
end
Usage
stats = Rake::Task['my:task:name'].stats stats.log
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request