Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 27 lines (21 sloc) 0.738 kb
079d0d8 Awesome new features, supersmart tests, great coverage!
mislav authored
1 require 'rake'
2 require 'rake/testtask'
3 require 'rake/rdoctask'
4
5 desc 'Default: run unit tests.'
6 task :default => :test
7
0128efd Point users to the Lightouse URL
mislav authored
8 desc 'Test the will_paginate plugin.'
079d0d8 Awesome new features, supersmart tests, great coverage!
mislav authored
9 Rake::TestTask.new(:test) do |t|
10 t.pattern = 'test/**/*_test.rb'
11 t.verbose = true
12 end
13
0128efd Point users to the Lightouse URL
mislav authored
14 desc 'Generate RDoc documentation for the will_paginate plugin.'
079d0d8 Awesome new features, supersmart tests, great coverage!
mislav authored
15 Rake::RDocTask.new(:rdoc) do |rdoc|
9ba306e rdoc changes
chris authored
16 files = ['README', 'LICENSE', 'lib/**/*.rb']
17 rdoc.rdoc_files.add(files)
18 rdoc.main = "README" # page to start on
7ed0b98 more rdoc stuff
chris authored
19 rdoc.title = "will_paginate"
c7ec4a5 Will Paginate docs and contributors
mislav authored
20
21 templates = %w[/Users/chris/ruby/projects/err/rock/template.rb /var/www/rock/template.rb]
22 rdoc.template = templates.find { |t| File.exists? t }
23
9ba306e rdoc changes
chris authored
24 rdoc.rdoc_dir = 'doc' # rdoc output folder
25 rdoc.options << '--inline-source'
079d0d8 Awesome new features, supersmart tests, great coverage!
mislav authored
26 end
Something went wrong with that request. Please try again.