Merge remote-tracking branch 'camptocamp/master'
[puppet_systemd.git] / Rakefile
1 require 'puppetlabs_spec_helper/rake_tasks'
2 require 'puppet-lint/tasks/puppet-lint'
3
4 Rake::Task[:lint].clear
5 PuppetLint::RakeTask.new :lint do |config|
6   config.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
7   config.disable_checks = ['140chars']
8   config.fail_on_warnings = true
9 end
10
11 PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"]
12
13 # Publishing tasks
14 unless RUBY_VERSION =~ /^1\./
15   require 'puppet_blacksmith'
16   require 'puppet_blacksmith/rake_tasks'
17 end