Sha256: 81c842abd6d244d6af648910cccf9599c781233a5a695f00b1873e19ac80cf60
Contents?: true
Size: 857 Bytes
Versions: 5
Compression:
Stored size: 857 Bytes
Contents
require 'rubygems' require 'rake' require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' << '.' test.pattern = 'test/**/*_test.rb' test.verbose = true end begin require 'rcov/rcovtask' Rcov::RcovTask.new do |test| test.libs << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end rescue LoadError task :rcov do abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov" end end task :default => :test require 'rake/rdoctask' Rake::RDocTask.new do |rdoc| if File.exist?('VERSION') version = File.read('VERSION') else version = "" end rdoc.rdoc_dir = 'rdoc' rdoc.title = "rack-rewrite #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('History.rdoc') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
rack-rewrite-1.2.1 | Rakefile |
rack-rewrite-1.2.0 | Rakefile |
rack-rewrite-1.1.0 | Rakefile |
rack-rewrite-1.0.2 | Rakefile |
rack-rewrite-1.0.1 | Rakefile |