rabl-rails/Rakefile

36 lines
756 B
Ruby
Raw Normal View History

2012-02-22 10:42:38 +00:00
#!/usr/bin/env rake
2012-02-22 18:14:00 +00:00
# begin
# require 'bundler/setup'
# rescue LoadError
# puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
# end
# begin
# require 'rdoc/task'
# rescue LoadError
# require 'rdoc/rdoc'
# require 'rake/rdoctask'
# RDoc::Task = Rake::RDocTask
# end
#
# RDoc::Task.new(:rdoc) do |rdoc|
# rdoc.rdoc_dir = 'rdoc'
2012-04-20 14:28:34 +00:00
# rdoc.title = 'RablRails'
2012-02-22 18:14:00 +00:00
# rdoc.options << '--line-numbers'
# rdoc.rdoc_files.include('README.rdoc')
# rdoc.rdoc_files.include('lib/**/*.rb')
# end
require 'bundler'
2012-02-22 10:42:38 +00:00
Bundler::GemHelper.install_tasks
require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
2012-02-22 18:14:00 +00:00
t.verbose = true
2012-02-22 10:42:38 +00:00
end
task :default => :test