-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRakefile
28 lines (23 loc) · 827 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# frozen_string_literal: true
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-exec_idempotency-check'
config.future_release = Gem::Specification.load("#{config.project}.gemspec").version
end
end
begin
require 'voxpupuli/rubocop/rake'
rescue LoadError
# the voxpupuli-rubocop gem is optional
end