public
Description: Badger is a simple Rails plugin that creates photo badges
Homepage: http://rayvinly.com/articles/2008/04/15/badger-rails-plugin/
Clone URL: git://github.com/rayvinly/badger.git
rayvinly (author)
Thu Jun 12 12:25:48 -0700 2008
commit  d9a228da6a976e3838055addb397a6068fab0695
tree    2551db293e708214b0a1e0459e233f1514c966a8
badger / Rakefile
100644 23 lines (19 sloc) 0.538 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
 
desc 'Default: run unit tests.'
task :default => :test
 
desc 'Test the badger plugin.'
Rake::TestTask.new(:test) do |t|
  t.libs << 'lib'
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
end
 
desc 'Generate documentation for the badger plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = 'Badger'
  rdoc.options << '--line-numbers' << '--inline-source'
  rdoc.rdoc_files.include('README')
  rdoc.rdoc_files.include('lib/**/*.rb')
end