public
Description: Makes your models act as textiled.
Homepage: http://errtheblog.com/posts/12-actsastextiled
Clone URL: git://github.com/defunkt/acts_as_textiled.git
lawrencepit (author)
Fri Jun 20 20:17:01 -0700 2008
commit  f758234a2f2e6efe2311be20cf87fd3414afcc4c
tree    42f9ff7d4b55175b4f96c6cb2c9fe6fee65d8ced
parent  f38fb2965f1a537a3e6364cbacb115a7d2d77116
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