Sha256: 79817f09dfe8ec7d2fee474d62e1eb996c53f8cd495e3bc56ef64b6be08625be

Contents?: true

Size: 555 Bytes

Versions: 1

Compression:

Stored size: 555 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

Bundler::GemHelper.install_tasks

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pdf_ravager-0.0.8 Rakefile