author | ymh <ymh.work@gmail.com> |
Wed, 15 Feb 2017 10:51:15 +0100 | |
changeset 509 | fcc59d0ac8aa |
parent 405 | f239c8c5bb94 |
permissions | -rw-r--r-- |
28 | 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"] |
|
405
f239c8c5bb94
migrate to rdf4j (2.1.1) from sesame (4.1.1)
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
7 |
config.disable_checks = ['140chars'] |
28 | 8 |
config.fail_on_warnings = true |
9 |
end |
|
10 |
||
11 |
PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"] |
|
12 |
||
13 |
# Publishing tasks |
|
405
f239c8c5bb94
migrate to rdf4j (2.1.1) from sesame (4.1.1)
ymh <ymh.work@gmail.com>
parents:
28
diff
changeset
|
14 |
unless RUBY_VERSION =~ /^1\./ |
28 | 15 |
require 'puppet_blacksmith' |
16 |
require 'puppet_blacksmith/rake_tasks' |
|
17 |
end |