From a2cf8d65c8cf97c869e75bc06300cce4cd76e424 Mon Sep 17 00:00:00 2001 From: Colleen Murphy Date: Fri, 6 Jun 2014 20:20:48 -0700 Subject: [PATCH] Update Rakefile to ignore vendor gems in syntax task --- .gitignore | 2 ++ Rakefile | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 6abdd115..543548ac 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,5 @@ *.swn pkg/ .vagrant/ +.bundle/ +vendor/ diff --git a/Rakefile b/Rakefile index 6f0c5246..6feca750 100644 --- a/Rakefile +++ b/Rakefile @@ -10,7 +10,8 @@ PuppetLint.configuration.send('disable_autoloader_layout') PuppetLint.configuration.send('disable_class_inherits_from_params_class') PuppetLint.configuration.send('disable_class_parameter_defaults') PuppetLint.configuration.send('disable_documentation') -PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"] +PuppetLint.configuration.ignore_paths = ["vendor/**/*.pp", "spec/**/*.pp", "pkg/**/*.pp" ] +PuppetSyntax.exclude_paths = ["vendor/**/*"] task :test => [ :syntax,