8c1fa8dace
* This infrastructure, especially the rake tasks should be gemified at some point in the future. I copied exactly the same bytes many times in the last month.
15 lines
364 B
Ruby
15 lines
364 B
Ruby
begin
|
|
require 'roodi'
|
|
require 'rake/tasklib'
|
|
require 'roodi_task'
|
|
|
|
RoodiTask.new do |t|
|
|
t.verbose = false
|
|
t.config = File.expand_path('../../../config/roodi.yml', __FILE__)
|
|
t.patterns = %w[ lib/**/*.rb ]
|
|
end
|
|
rescue LoadError
|
|
task :roodi do
|
|
abort 'Roodi is not available. In order to run roodi, you must: gem install roodi'
|
|
end
|
|
end
|