Sha256: c4fdc9129820b15ccdad1f30abc455eab486586a2b98b5854bdefe2659c794e5

Contents?: true

Size: 547 Bytes

Versions: 9

Compression:

Stored size: 547 Bytes

Contents

# frozen_string_literal: true

begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end

Bundler::GemHelper.install_tasks

require 'rubocop/rake_task'
RuboCop::RakeTask.new

require 'rspec/core'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)

def default_task
  if ENV['APPRAISAL_INITIALIZED'] || ENV['CI']
    %i(rubocop spec)
  else
    require 'appraisal'
    Appraisal::Task.new
    %i(appraisal)
  end
end

task(:default).clear.enhance(default_task)

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
uncruft-0.7.1 Rakefile
uncruft-0.7.0 Rakefile
uncruft-0.6.2 Rakefile
uncruft-0.6.1 Rakefile
steady_state-1.2.0 Rakefile
uncruft-0.5.0 Rakefile
journaled-5.3.2 Rakefile
steady_state-1.1.0 Rakefile
uncruft-0.4.0 Rakefile