Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 23 lines (19 sloc) 0.553 kB
aa85566 milestone marker plugin
cpytel authored
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
5 desc 'Default: run unit tests.'
6 task :default => :test
7
e3396f2 helper name change
cpytel authored
8 desc 'Test the mile_marker plugin.'
aa85566 milestone marker plugin
cpytel authored
9 Rake::TestTask.new(:test) do |t|
10 t.libs << 'lib'
11 t.pattern = 'test/**/*_test.rb'
12 t.verbose = true
13 end
14
e3396f2 helper name change
cpytel authored
15 desc 'Generate documentation for the mile_marker plugin.'
aa85566 milestone marker plugin
cpytel authored
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17 rdoc.rdoc_dir = 'rdoc'
e3396f2 helper name change
cpytel authored
18 rdoc.title = 'Mile Marker'
aa85566 milestone marker plugin
cpytel authored
19 rdoc.options << '--line-numbers' << '--inline-source'
20 rdoc.rdoc_files.include('README')
21 rdoc.rdoc_files.include('lib/**/*.rb')
22 end
Something went wrong with that request. Please try again.