dev/provisioning/modules/archive/Rakefile
author ymh <ymh.work@gmail.com>
Mon, 14 Nov 2016 16:32:53 +0100
changeset 421 761aaf440934
parent 405 f239c8c5bb94
permissions -rw-r--r--
Added tag 0.0.11 for changeset d6edcdb5a22b

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 = ['140chars']
  config.fail_on_warnings = true
end

PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"]

# Publishing tasks
unless RUBY_VERSION =~ /^1\./
  require 'puppet_blacksmith'
  require 'puppet_blacksmith/rake_tasks'
end