Merge "Fix Rakefile regarding lint usage"

This commit is contained in:
Jenkins
2016-06-23 11:33:32 +00:00
committed by Gerrit Code Review
3 changed files with 8 additions and 5 deletions

View File

@@ -13,7 +13,10 @@ exclude_paths = [
"vendor/**/*",
"spec/**/*",
]
PuppetLint.configuration.ignore_paths = exclude_paths
Rake::Task[:lint].clear
PuppetLint::RakeTask.new :lint do |config|
config.ignore_paths = exclude_paths
end
PuppetSyntax.exclude_paths = exclude_paths
desc "Run metadata_lint, lint, syntax, and spec tests."

View File

@@ -13,7 +13,10 @@ exclude_paths = [
"vendor/**/*",
"spec/**/*",
]
PuppetLint.configuration.ignore_paths = exclude_paths
Rake::Task[:lint].clear
PuppetLint::RakeTask.new :lint do |config|
config.ignore_paths = exclude_paths
end
PuppetSyntax.exclude_paths = exclude_paths
desc "Run metadata_lint, lint, syntax, and spec tests."