Sha256: 4744ac54d503d7c7b9bb7379a0e575cd2f3824a734efb26476bb99eebfda0ac2
Contents?: true
Size: 875 Bytes
Versions: 2
Compression:
Stored size: 875 Bytes
Contents
require 'bundler' Bundler::GemHelper.install_tasks require 'rake' require 'rake/testtask' require 'rdoc/task' desc 'Default: run unit tests.' task :default => :test desc 'Test the acts_as_follower gem.' 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_follower gem.' Rake::RDocTask.new(:rdoc) do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = 'Acts As Follower' rdoc.main = 'README.rdoc' rdoc.options << '--line-numbers' << '--inline-source' rdoc.rdoc_files.include('README.rdoc', '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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
acts_as_follower-0.2.1 | Rakefile |
acts_as_follower-0.2.0 | Rakefile |