Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
19 lines (16 sloc) 531 Bytes
require 'rake'
require 'rake/rdoctask'
require 'rubygems'
require 'spec/rake/spectask'
desc 'Generate documentation for the unobtrusive_date_picker plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Unobtrusive Date-Picker'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.add ['lib/**/*.rb', 'README.rdoc']
rdoc.options << '--main' << 'README.rdoc'
end
desc "Run all specs"
Spec::Rake::SpecTask.new do |t|
t.spec_opts = ['--options', 'spec/spec.opts']
end
Something went wrong with that request. Please try again.