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)
Wed Jul 09 00:02:33 -0700 2008
commit  8dd4a0fc69b8409ba4a8bc65c40b0136b186317d
tree    ebe755b2858c3af37624c89b6a3ee643b9127753
parent  f758234a2f2e6efe2311be20cf87fd3414afcc4c
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