Sha256: 6fddab6de783756218664cf0776013f134ac574a2bbd87dc0e4308e9cc5276bd

Contents?: true

Size: 577 Bytes

Versions: 4

Compression:

Stored size: 577 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec) do |t|
  t.pattern = 'spec/unit/**/*_spec.rb'
end

namespace :spec do
  desc 'Run RSpec code examples with coverage collection'
  task :coverage do
    ENV['COVERAGE'] = 'yes'
    Rake::Task['spec'].execute
  end
end

RSpec::Core::RakeTask.new(:acceptance) do |t|
  t.pattern = 'spec/acceptance/**/*_spec.rb'
end

task default: %i[spec acceptance]

begin
  require 'voxpupuli/rubocop/rake'
rescue LoadError
  # the voxpupuli-rubocop gem is optional
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
puppet-modulebuilder-2.0.2 Rakefile
puppet-modulebuilder-2.0.1 Rakefile
puppet-modulebuilder-2.0.0 Rakefile
puppet-modulebuilder-1.1.0 Rakefile