Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (24 sloc) 622 Bytes
#!/usr/bin/env rake
begin
require 'bundler/setup'
require 'bundler/gem_tasks'
rescue LoadError
raise 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
require 'rdoc/task'
RDoc::Task.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'StrongParameters'
rdoc.options << '--line-numbers'
rdoc_main = 'README.md'
rdoc.rdoc_files.include('README.md')
rdoc.rdoc_files.include('lib/**/*.rb')
end
require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
task :default => :test
Something went wrong with that request. Please try again.