Sha256: c40d67a5763e7797e1aad13d61db2435aad4a9405de2a18ed771f537491b7991

Contents?: true

Size: 414 Bytes

Versions: 6

Compression:

Stored size: 414 Bytes

Contents

# encoding: utf-8

require 'rubygems'
require 'bundler/setup'
require 'bundler/gem_tasks'

require 'rake'
require 'rspec/core/rake_task'
require 'appraisal'

RSpec::Core::RakeTask.new(:spec)

desc 'Default'
task :default do
  if ENV['BUNDLE_GEMFILE'] =~ /gemfiles/
    Rake::Task['spec'].invoke
  else
    Rake::Task['appraise'].invoke
  end
end

task :appraise do
  exec 'appraisal install && appraisal rake'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
high_voltage-3.1.1 Rakefile
high_voltage-3.1.0 Rakefile
high_voltage-3.0.0 Rakefile
high_voltage-2.4.0 Rakefile
high_voltage-2.3.0 Rakefile
high_voltage-2.2.1 Rakefile