Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 865be7bc5f
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (29 sloc) 0.847 kB
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the acts_as_taggable_on_steroids plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = true
end
desc 'Generate documentation for the acts_as_taggable_on_steroids plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Acts As Follower'
rdoc.options << '--line-numbers' << '--inline-source'
rdoc.rdoc_files.include('README')
rdoc.rdoc_files.include('lib/**/*.rb')
end
namespace :rcov do
desc "Generate a coverage report in coverage/"
task :gen do
sh "rcov --output coverage test/*_test.rb --exclude 'gems/*'"
end
desc "Remove generated coverage files."
task :clobber do
sh "rm -rdf coverage"
end
end
Jump to Line
Something went wrong with that request. Please try again.