Sha256: 2b681a100d6fd69d4c4fd4328635e5ae5ac379600848f13d1e3f8c973f056c21

Contents?: true

Size: 478 Bytes

Versions: 38

Compression:

Stored size: 478 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_PATH}/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

38 entries across 38 versions & 6 rubygems

Version Path
amqp-events-0.0.2 tasks/spec.rake
amqp-spec-0.1.13 tasks/spec.rake
amqp-spec-0.1.12 tasks/spec.rake
amqp-spec-0.1.11 tasks/spec.rake
amqp-spec-0.1.10 tasks/spec.rake
my_scripts-0.1.12 tasks/spec.rake
amqp-spec-0.1.8 tasks/spec.rake
amqp-spec-0.1.7 tasks/spec.rake
amqp-spec-0.0.4 tasks/spec.rake
win_gui-0.2.16 tasks/spec.rake
win_gui-0.2.15 tasks/spec.rake
win_gui-0.2.14 tasks/spec.rake
win_gui-0.2.13 tasks/spec.rake
win_gui-0.2.12 tasks/spec.rake
my_scripts-0.1.11 tasks/spec.rake
remote_logger-0.0.5 tasks/spec.rake
remote_logger-0.0.4 tasks/spec.rake
remote_logger-0.0.3 tasks/spec.rake
win-0.3.24 tasks/spec.rake
win-0.3.17 tasks/spec.rake