public
Description: Microformats Helper is a plugin for generating content-rich tags in HTML files, following Microformats standards. For more information about Microformats, check its website (http://microformats.org).
Homepage:
Clone URL: git://github.com/shadow11/microformats_helper.git
microformats_helper / Rakefile
100644 29 lines (21 sloc) 0.614 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
require "rake"
require "rake/testtask"
require "rake/rdoctask"
 
PLUGIN_NAME = "microformats"
 
 
desc "Default: run unit tests."
task :default => :test
 
 
desc "Test the #{PLUGIN_NAME} plugin."
Rake::TestTask.new(:test) do |task|
  task.libs << "lib"
  task.pattern = "test/*_test.rb"
  task.verbose = true
end
 
 
desc "Generate documentation for the #{PLUGIN_NAME} plugin."
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = "rdoc"
  rdoc.title = PLUGIN_NAME
  rdoc.options << "--line-numbers"
  rdoc.options << "--inline-source"
  rdoc.rdoc_files.include("README")
  rdoc.rdoc_files.include("lib/**/*.rb")
end