Sha256: 1147258c8fa187d4a867469ebb26fbce22eb6f9438ff8faa15533c713bc27d93

Contents?: true

Size: 519 Bytes

Versions: 21

Compression:

Stored size: 519 Bytes

Contents

require 'spec/rake/spectask'

spec_files = FileList['specs/**/*.rb']

desc 'Run all specs'
Spec::Rake::SpecTask.new(:specs) do |t|
  t.libs = ['lib']
  t.spec_files = spec_files
end

desc 'Run specs for the examples'
Spec::Rake::SpecTask.new(:example_specs) do |t|
  t.libs = ['lib']
  t.spec_files = FileList['specs/examples.rb']
end

desc 'Generate an rspec html report'
Spec::Rake::SpecTask.new(:spec_html) do |t|
  t.spec_files = spec_files
  t.spec_opts = ['--format html:doc/output/rspec.html','--backtrace']
end

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
gecoder-with-gecode-1.1.1.1 tasks/specs.rake
gecoder-with-gecode-1.1.1 tasks/specs.rake
gecoder-1.1.1 tasks/specs.rake
gecoder-with-gecode-0.8.3-mswin32 tasks/specs.rake
gecoder-with-gecode-0.8.2-mswin32 tasks/specs.rake
gecoder-with-gecode-0.8.1-mswin32 tasks/specs.rake
gecoder-0.8.2 tasks/specs.rake
gecoder-0.8.3 tasks/specs.rake
gecoder-0.8.1 tasks/specs.rake
gecoder-1.0.0 tasks/specs.rake
gecoder-0.9.1 tasks/specs.rake
gecoder-0.9.0 tasks/specs.rake
gecoder-with-gecode-0.8.1 tasks/specs.rake
gecoder-with-gecode-0.8.2 tasks/specs.rake
gecoder-with-gecode-0.9.0-x86-mswin32-60 tasks/specs.rake
gecoder-with-gecode-0.8.3 tasks/specs.rake
gecoder-with-gecode-0.9.1-x86-mswin32-60 tasks/specs.rake
gecoder-with-gecode-0.9.0 tasks/specs.rake
gecoder-with-gecode-0.9.1 tasks/specs.rake
gecoder-with-gecode-1.0.0-x86-mswin32-60 tasks/specs.rake