dev/provisioning/modules/archive/Rakefile
author Chloe Laisne <chloe.laisne@gmail.com>
Thu, 20 Oct 2016 12:54:07 +0530
changeset 373 e952c8a31a2b
parent 28 b0b56e0f8c7f
child 405 f239c8c5bb94
permissions -rw-r--r--
Transcript design + Fix video display and filter component font

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