Sha256: addb298ac85885d5d181e8bcc66397caef1af91343ae29f3dee4dc58ca51880f

Contents?: true

Size: 630 Bytes

Versions: 2

Compression:

Stored size: 630 Bytes

Contents

require 'rubygems'
require 'bundler'
require 'rake'

require 'pp'

# build, install, release
require 'bundler/gem_tasks'

begin
  # appraisal
  require 'appraisal'

  # appraisals
  Appraisal::File.each do |appraisal|
    desc "Resolve and install dependencies for the #{appraisal.name} appraisal"
    task "appraisal:#{appraisal.name}:install" do
      appraisal.install
    end
  end
rescue LoadError
end

# spec
require File.expand_path('../spec/defines_spec_suite_tasks', __FILE__)
DefinesSpecSuiteTasks.call

desc "Run tests"
task :test do
  ruby("test/run-test.rb")
end

task :default => ['appraisal:install', :spec, :test]

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rr-1.2.1 Rakefile
rr-1.2.0 Rakefile