diff options
author | Micah <micah@leap.se> | 2016-05-24 10:19:42 -0400 |
---|---|---|
committer | Micah <micah@leap.se> | 2016-05-24 10:19:42 -0400 |
commit | 6a62c8f7628e8d7e72dd28d713886103458f1a09 (patch) | |
tree | 9b6b3a242cfa0da07792b6b836141a7a15edfe36 /puppet/modules/systemd/Rakefile | |
parent | 783f953a87ef0531dd0b43614a101362c3e592c5 (diff) | |
parent | 38cf1269a499acd9b85390afd6200c2f143fbffc (diff) |
Merge commit '38cf1269a499acd9b85390afd6200c2f143fbffc' as 'puppet/modules/systemd'subtree
Diffstat (limited to 'puppet/modules/systemd/Rakefile')
-rw-r--r-- | puppet/modules/systemd/Rakefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/puppet/modules/systemd/Rakefile b/puppet/modules/systemd/Rakefile new file mode 100644 index 00000000..adcac180 --- /dev/null +++ b/puppet/modules/systemd/Rakefile @@ -0,0 +1,23 @@ +require 'puppetlabs_spec_helper/rake_tasks' +require 'puppet-lint/tasks/puppet-lint' + +Rake::Task[:lint].clear +PuppetLint::RakeTask.new :lint do |config| + config.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"] + config.disable_checks = ['80chars'] + config.fail_on_warnings = true +end + +PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"] + +# Publishing tasks +unless RUBY_VERSION =~ /^1\.8/ + require 'puppet_blacksmith' + require 'puppet_blacksmith/rake_tasks' + require 'github_changelog_generator/task' + GitHubChangelogGenerator::RakeTask.new :changelog do |config| + m = Blacksmith::Modulefile.new + config.future_release = m.version + config.release_url = "https://forge.puppetlabs.com/#{m.author}/#{m.name}/%s" + end +end |