Sha256: 1e1f892c3cb742c59473afe8a12f3ed61ebd15114aeafb33bf814312965fa01f
Contents?: true
Size: 847 Bytes
Versions: 10
Compression:
Stored size: 847 Bytes
Contents
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
Version data entries
10 entries across 10 versions & 1 rubygems