Sha256: 2444cce20d4b489bac7a1ad684d33e23c8c89e718a4bd65a69c8faf124edbd08
Contents?: true
Size: 560 Bytes
Versions: 64
Compression:
Stored size: 560 Bytes
Contents
require 'rake/testtask' spec_defaults = lambda do |spec| spec.libs << 'lib' << 'spec' spec.pattern = 'spec/**/*_spec.rb' spec.verbose = true end Rake::TestTask.new(:spec => [ :clean, :compile ], &spec_defaults) Rake::TestTask.new(:spec_no_compile, &spec_defaults) begin require 'rcov/rcovtask' Rcov::RcovTask.new do |spec| spec.libs << 'spec' spec.pattern = 'spec/**/*_spec.rb' spec.verbose = true end rescue LoadError task :rcov do abort 'RCov is not available. In order to run rcov, you must: gem install rcov' end end
Version data entries
64 entries across 64 versions & 8 rubygems