Sha256: 605a02173091969282e58cf92f2ea8da0daa16428b99440b01547e3e4e02fc41

Contents?: true

Size: 578 Bytes

Versions: 3

Compression:

Stored size: 578 Bytes

Contents

require 'rspec'
require 'rspec/core/rake_task'
require 'rake/testtask'
require 'bundler'

Rake::TestTask.new('spec:unit') do |t|
  t.libs << ["lib", "spec"]
  t.pattern = "spec/unit/**/*_spec.rb"
end

if RUBY_PLATFORM =~ /java/
  # Integration tests can only run on JRuby
  RSpec::Core::RakeTask.new('spec:integration') do |spec|
    spec.pattern = "spec/integration/**/*spec.rb"
    spec.rspec_opts = ['--backtrace']
  end

  task :spec => ['spec:unit', 'spec:integration']
else
  task :spec => ['spec:unit']
end

task :default => 'spec:unit'

Bundler::GemHelper.install_tasks

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pdf_ravager-0.2.2 Rakefile
pdf_ravager-0.2.1 Rakefile
pdf_ravager-0.2.0 Rakefile