Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 23 lines (19 sloc) 0.543 kB
d6a740e @jm Initial commit of Rake task/plugin version of rails-upgrade script
jm authored
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
5 desc 'Default: run unit tests.'
6 task :default => :test
7
87f2c7f @jm Switch to FileList for test task
jm authored
8 Rake::TestTask.new do |t|
d6a740e @jm Initial commit of Rake task/plugin version of rails-upgrade script
jm authored
9 t.libs << 'lib'
10 t.libs << 'test'
87f2c7f @jm Switch to FileList for test task
jm authored
11 t.test_files = FileList['test/*_test.rb']
d6a740e @jm Initial commit of Rake task/plugin version of rails-upgrade script
jm authored
12 t.verbose = true
13 end
14
15 desc 'Generate documentation for the rails_upgrade plugin.'
16 Rake::RDocTask.new(:rdoc) do |rdoc|
17 rdoc.rdoc_dir = 'rdoc'
18 rdoc.title = 'Rails-upgrade'
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.