Sha256: 90a5347e873cd6afa858f1d2591db1800ba5b630b808bac4dd0d300bb2884118
Contents?: true
Size: 477 Bytes
Versions: 4
Compression:
Stored size: 477 Bytes
Contents
desc 'Alias to spec:spec' task :spec => 'spec:spec' namespace :spec do require 'spec/rake/spectask' desc "Run all specs" Spec::Rake::SpecTask.new(:spec) do |t| t.spec_opts = ['--options', %Q{"#{BASE_DIR}/spec/spec.opts"}] t.spec_files = FileList['spec/**/*_spec.rb'] end desc "Run specs with RCov" Spec::Rake::SpecTask.new(:rcov) do |t| t.spec_files = FileList['spec/**/*_spec.rb'] t.rcov = true t.rcov_opts = ['--exclude', 'spec'] end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
my_scripts-0.1.3 | tasks/spec.rake |
my_scripts-0.1.0 | tasks/spec.rake |
my_scripts-0.0.24 | tasks/spec.rake |
my_scripts-0.0.23 | tasks/spec.rake |