forked from puppetlabs/puppet-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
37 lines (33 loc) · 970 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
29
30
31
32
33
34
35
36
37
require 'bundler/gem_tasks'
require 'rubocop/rake_task'
require 'github_changelog_generator/task'
require 'puppet-lint/version'
require 'rspec/core/rake_task'
require 'puppetlabs_spec_helper/tasks/fixtures'
begin
require 'github_changelog_generator/task'
rescue LoadError
# Gem not present
else
GitHubChangelogGenerator::RakeTask.new(:changelog) do |config|
version = PuppetLint::VERSION
config.user = 'puppetlabs'
config.project = 'puppet-lint'
config.since_tag = '2.5.0'
config.future_release = version.to_s
config.exclude_labels = %w[duplicate question invalid wontfix release-pr documentation]
config.enhancement_labels = %w[feature]
end
end
begin
require 'puppet_litmus/rake_tasks'
rescue LoadError
# Gem not present
end
RSpec::Core::RakeTask.new(:spec) do |t|
t.exclude_pattern = 'spec/acceptance/**/*_spec.rb'
end
desc 'Run acceptance tests'
task :acceptance do
Rake::Task['litmus:acceptance:localhost'].invoke
end