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
Version | Path |
---|---|
do_mysql-0.10.1 | tasks/spec.rake |
do_mysql-0.10.1-x86-mswin32-60 | tasks/spec.rake |
do_mysql-0.10.1-x86-mingw32 | tasks/spec.rake |
do_mysql-0.10.1-java | tasks/spec.rake |