drnic / rails-footnotes

Every Rails page has footnotes that link give request information and link back to your source via TextMate [extracted from Rails TextMate bundle project]

This URL has Read+Write access

rails-footnotes / Rakefile
100755 18 lines (16 sloc) 0.473 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Test Footnotes plugin.'
Rake::TestTask.new(:test) do |t|
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for Footnotes plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'SimpleLocalization'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end