From 39bd0f2682559f467ccacfe3b832b7b8eb0cbdd0 Mon Sep 17 00:00:00 2001 From: Raphaƫl Pinson Date: Thu, 18 Dec 2014 09:44:52 +0100 Subject: Exclude vendor directories from tests --- Rakefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Rakefile') 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 -- cgit v1.2.3