Sha256: 1ff7e473b9faa955f61d17eed25e2f00573e46ed7a054d75f90b6035ebb06f2e
Contents?: true
Size: 836 Bytes
Versions: 6
Compression:
Stored size: 836 Bytes
Contents
require 'rake' require 'rake/rdoctask' require 'spec/rake/spectask' begin require 'sdoc_helpers' rescue LoadError puts "sdoc support not enabled. Please gem install sdoc-helpers." end desc 'Default: run specs with rcov.' task :default => :rcov_spec desc 'Run the specs' Spec::Rake::SpecTask.new(:spec) do |t| t.spec_opts = ['--colour --format progress --loadby mtime --reverse'] t.spec_files = FileList['spec/**/*_spec.rb'] end desc 'Run the specs with rcov' Spec::Rake::SpecTask.new("rcov_spec") do |t| t.spec_files = FileList['spec/**/*_spec.rb'] t.spec_opts = ['--color'] t.rcov = true t.rcov_opts = ['--exclude', '^spec,/gems/'] end Rake::RDocTask.new do |t| t.rdoc_dir = 'doc' t.rdoc_files.include('lib/**/*.rb') t.options << '--inline-source' t.options << '--all' t.options << '--line-numbers' end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
forgery-0.3.6 | Rakefile |
forgery-0.3.5 | Rakefile |
forgery-0.3.4 | Rakefile |
forgery-0.3.3 | Rakefile |
forgery-0.3.2 | Rakefile |
forgery-0.3.1 | Rakefile |