From: Raphaƫl Pinson Date: Thu, 18 Dec 2014 08:44:52 +0000 (+0100) Subject: Exclude vendor directories from tests X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=39bd0f2682559f467ccacfe3b832b7b8eb0cbdd0;p=puppet-dhcp.git Exclude vendor directories from tests --- 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