mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
updatd tests
This commit is contained in:
parent
96d067d035
commit
d4cb4e1347
2 changed files with 5 additions and 6 deletions
9
Rakefile
9
Rakefile
|
|
@ -11,7 +11,6 @@ exclude_paths = [
|
||||||
'spec/**/*'
|
'spec/**/*'
|
||||||
]
|
]
|
||||||
|
|
||||||
RuboCop::RakeTask.new
|
|
||||||
RuboCop::RakeTask.new(:rubocop) do |task|
|
RuboCop::RakeTask.new(:rubocop) do |task|
|
||||||
# task.patterns = ['lib/**/*.rb']
|
# task.patterns = ['lib/**/*.rb']
|
||||||
# only show the files with failures
|
# only show the files with failures
|
||||||
|
|
@ -20,10 +19,10 @@ RuboCop::RakeTask.new(:rubocop) do |task|
|
||||||
# task.fail_on_error = false
|
# task.fail_on_error = false
|
||||||
end
|
end
|
||||||
|
|
||||||
PuppetLint.configuration.fail_on_warnings = true
|
PuppetLint::RakeTask.new :lint do |config|
|
||||||
PuppetLint.configuration.ignore_paths = exclude_paths
|
config.fail_on_warnings = true
|
||||||
PuppetLint.configuration.log_format =
|
config.ignore_paths = exclude_paths
|
||||||
'%{path}:%{linenumber}:%{check}:%{KIND}:%{message}'
|
end
|
||||||
|
|
||||||
PuppetSyntax.exclude_paths = exclude_paths
|
PuppetSyntax.exclude_paths = exclude_paths
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
# rubocop:disable FileName
|
# rubocop:disable Lint/UnneededDisable, Style/FileName
|
||||||
forge 'http://forge.puppetlabs.com'
|
forge 'http://forge.puppetlabs.com'
|
||||||
|
|
||||||
# rubocop:disable Metrics/LineLength
|
# rubocop:disable Metrics/LineLength
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue