Sha256: 02c0b9dbd6aaaaa041646a60f08cc047ba8c98b8dc21e9f164d0c847fea83af8

Contents?: true

Size: 402 Bytes

Versions: 5

Compression:

Stored size: 402 Bytes

Contents

require 'puppet-doc-lint'
require 'rake'
require 'rake/tasklib'

desc 'Run puppet-doc-lint'
task :parse_doc do
  matched_files = FileList['**/*.pp']

  if ignore_paths = PuppetDocLint.configuration.ignore_paths
    matched_files = matched_files.exclude(*ignore_paths)
  end

  runner = PuppetDocLint::Runner.new
  results = runner.run(matched_files)

  results.each {|result| result.result_report}
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
puppet-doc-lint-0.3.0 lib/puppet-doc-lint/rake_task.rb
puppet-doc-lint-0.2.0 lib/puppet-doc-lint/rake_task.rb
puppet-doc-lint-0.1.1 lib/puppet-doc-lint/rake_task.rb
puppet-doc-lint-0.1.0 lib/puppet-doc-lint/rake_task.rb
puppet-doc-lint-0.0.1 lib/puppet-doc-lint/rake_task.rb