summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2014-12-18 09:52:19 +0100
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2014-12-18 09:52:19 +0100
commit4ee3ccd822c6f2c673ca2f5ff08b9970ddccbb45 (patch)
tree838eea51ce9e29268a541bde1997f44bb1929995 /Rakefile
parent735970f5687f25dd0437133c1408cd30ea6eef4c (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