Revision dbe1c0b4
Added by Ewoud Kohl van Wijngaarden about 4 years ago
Rakefile | ||
---|---|---|
# This file is managed centrally by modulesync
|
||
# https://github.com/theforeman/foreman-installer-modulesync
|
||
|
||
require 'puppetlabs_spec_helper/rake_tasks'
|
||
require 'puppet-lint/tasks/puppet-lint'
|
||
require 'voxpupuli/test/rake'
|
||
|
||
# blacksmith isn't always present, e.g. on Travis with --without development
|
||
begin
|
||
... | ... | |
end
|
||
rescue LoadError
|
||
end
|
||
|
||
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp", "vendor/**/*.pp"]
|
||
PuppetLint.configuration.log_format = '%{path}:%{line}:%{KIND}: %{message}'
|
||
|
||
require 'puppet-lint-param-docs/tasks'
|
||
PuppetLintParamDocs.define_selective do |config|
|
||
config.pattern = ["manifests/init.pp"]
|
||
end
|
||
|
||
require 'kafo_module_lint/tasks'
|
||
KafoModuleLint::RakeTask.new do |config|
|
||
config.pattern = ["manifests/init.pp"]
|
||
end
|
||
|
||
task :default => [:release_checks]
|
Also available in: Unified diff
Modulesync: use voxpupuli helper gems