Sha256: 359ae49f5d030b11d6ab48b833edb5d16bef11f17a017d7403e239040c11489e

Contents?: true

Size: 1.09 KB

Versions: 1

Compression:

Stored size: 1.09 KB

Contents

require 'rspec/core/rake_task'

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

task default: :spec

begin
  require 'rubygems'
  require 'github_changelog_generator/task'
rescue LoadError
  # github-changelog-generator is an optional group
else
  GitHubChangelogGenerator::RakeTask.new :changelog do |config|
    config.header = "# Changelog\n\nAll notable changes to this project will be documented in this file."
    config.exclude_labels = %w[duplicate question invalid wontfix wont-fix skip-changelog modulesync]
    config.user = 'voxpupuli'
    config.project = 'puppet-lint-lookup_in_parameter-check'
    config.future_release = Gem::Specification.load("#{config.project}.gemspec").version
  end
end

begin
  require 'rubocop/rake_task'
rescue LoadError
  # RuboCop is an optional group
else
  RuboCop::RakeTask.new(:rubocop) do |task|
    # These make the rubocop experience maybe slightly less terrible
    task.options = ['--display-cop-names', '--display-style-guide', '--extra-details']

    # Use Rubocop's Github Actions formatter if possible
    task.formatters << 'github' if ENV['GITHUB_ACTIONS'] == 'true'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
puppet-lint-lookup_in_parameter-check-2.0.0 Rakefile