# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.

require(File.join(File.dirname(__FILE__), 'config', 'boot'))

require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

require 'tasks/rails'

namespace :test do
  desc "a new rake task to include generators"
  Rake::TestTask.new(:generators) do |t|
    t.libs << 'lib'
    t.test_files = FileList['test/generators/*_test.rb']
    t.verbose = true
  end
end
