Sha256: 066a9c3637f8b6db719b3dfcac81ca8da6cca9be127a055d46c4b0b47d5e8b82

Contents?: true

Size: 561 Bytes

Versions: 1

Compression:

Stored size: 561 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/**/*_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/**/*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

1 entries across 1 versions & 1 rubygems

Version Path
pdf_ravager-0.1.0 Rakefile