Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (20 sloc) 0.594 kb
ee80059 Lance Ivy jotting down thoughts
authored
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
5 desc 'Default: run unit tests.'
6 task :default => :test
7
8 desc 'Test the nested_assignment plugin.'
9 Rake::TestTask.new(:test) do |t|
10 t.libs << 'lib'
11 t.libs << 'test'
12 t.pattern = 'test/**/*_test.rb'
13 t.verbose = true
14 end
15
16 desc 'Generate documentation for the nested_assignment plugin.'
17 Rake::RDocTask.new(:rdoc) do |rdoc|
18 rdoc.rdoc_dir = 'rdoc'
19 rdoc.title = 'NestedAssignment'
20 rdoc.options << '--line-numbers' << '--inline-source'
41f7a39 Lance Ivy rdoc
authored
21 rdoc.rdoc_files.include('README.rdoc')
ee80059 Lance Ivy jotting down thoughts
authored
22 rdoc.rdoc_files.include('lib/**/*.rb')
23 end
Something went wrong with that request. Please try again.