Merge "Fix Rakefile regarding lint usage"
This commit is contained in:
commit
d391f2b77b
@ -17,7 +17,4 @@ group :development, :test do
|
||||
gem 'rake'
|
||||
gem "puppet", ENV['PUPPET_VERSION'] || '~> 3.4.0'
|
||||
gem 'puppetlabs_spec_helper'
|
||||
# Need to use master branch of puppet-lint because of
|
||||
# https://github.com/rodjek/puppet-lint/issues/355
|
||||
gem 'puppet-lint', :git => 'https://github.com/rodjek/puppet-lint.git'
|
||||
end
|
||||
|
@ -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."
|
||||
|
@ -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."
|
||||
|
Loading…
Reference in New Issue
Block a user