Sha256: 3a5aa837b17d1f7eec53a912cbce5cc7d5e636ab917feed46555e34363e2a429
Contents?: true
Size: 1.2 KB
Versions: 6
Compression:
Stored size: 1.2 KB
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 namespace :test do Rake::TestTask.new(:api) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/api/test_*.rb' test.verbose = true end Rake::TestTask.new(:integrations) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/test_integrations.rb' test.verbose = true end end Rake::TestTask.new(:examples) do |test| test.libs << 'lib' << 'examples' test.pattern = 'examples/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| version = File.exist?('VERSION') ? File.read('VERSION') : "" rdoc.rdoc_dir = 'rdoc' rdoc.title = "sauce #{version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
sauce-0.16.2 | Rakefile |
sauce-0.16.1 | Rakefile |
sauce-0.15.1 | Rakefile |
sauce-0.15.0 | Rakefile |
sauce-0.15.0.alpha.2 | Rakefile |
sauce-0.15.0.alpha.1 | Rakefile |