public
Fork of defunkt/acts_as_textiled
Description: Makes your models act as textiled.
Homepage: http://errtheblog.com/posts/12-actsastextiled
Clone URL: git://github.com/github/acts_as_textiled.git
acts_as_textiled / Rakefile
100644 15 lines (13 sloc) 0.523 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Generate RDoc documentation for the acts_as_textiled plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  files = ['README', 'LICENSE', 'lib/**/*.rb']
  rdoc.rdoc_files.add(files)
  rdoc.main = "README" # page to start on
  rdoc.title = "acts_as_textiled"
  rdoc.template = File.exists?(t="/Users/chris/ruby/projects/err/rock/template.rb") ? t : "/var/www/rock/template.rb"
  rdoc.rdoc_dir = 'doc' # rdoc output folder
  rdoc.options << '--inline-source'
end