summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2014-12-18 09:43:46 +0100
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2014-12-18 09:43:46 +0100
commit8ad8061bc77a12d39019381017564043be41054a (patch)
tree92c31ae4f91fd5d67147257f5d14267a1d175208 /Rakefile
parentd7086df1d68892ada68e18168428febe30ea1c9a (diff)
Exclude vendor directories from tests
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 5cf3aa8..a81b2c6 100644
--- a/Rakefile
+++ b/Rakefile
@@ -4,7 +4,9 @@ require 'puppet-lint/tasks/puppet-lint'
PuppetLint.configuration.fail_on_warnings
PuppetLint.configuration.send('relative')
PuppetLint.configuration.send('disable_80chars')
-PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
+PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
+
+PuppetSyntax.exclude_paths = ["spec/fixtures/**/*.pp", "vendor/**/*"]
desc "Lint metadata.json file"
task :metadata do