aboutsummaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2014-12-18 09:44:52 +0100
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2014-12-18 09:44:52 +0100
commit39bd0f2682559f467ccacfe3b832b7b8eb0cbdd0 (patch)
tree56374d35502d2702a0a927c3d5cd432a63bf4278 /Rakefile
parent12df5ad2ab46f424d490b5f8a405e9ab73d545ba (diff)
downloadpuppet-dhcp-39bd0f2682559f467ccacfe3b832b7b8eb0cbdd0.tar.gz
puppet-dhcp-39bd0f2682559f467ccacfe3b832b7b8eb0cbdd0.tar.bz2
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