Skip to content

Commit

Permalink
Add a reference task to generate REFERENCE.md
Browse files Browse the repository at this point in the history
Co-authored-by: Garrett Honeycutt <code@garretthoneycutt.com>
  • Loading branch information
ekohl and ghoneycutt committed Apr 6, 2019
1 parent f31ba46 commit b484d1d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion config_defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ Gemfile:
- gem: voxpupuli-release
git: https://github.com/voxpupuli/voxpupuli-release-gem
- gem: puppet-strings
version: '>= 1.0'
version: '>= 2.2'
Rakefile:
config.user: voxpupuli
default_disabled_lint_checks:
Expand All @@ -101,6 +101,7 @@ Rakefile:
- 'disable_single_quote_string_with_variables'
default_enabled_rake_targets:
- 'release_checks'
puppet_strings_patterns: []
spec/default_facts.yml:
delete: true
spec/classes/coverage_spec.rb:
Expand Down
6 changes: 6 additions & 0 deletions moduleroot/Rakefile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,12 @@ task 'beaker_sets', [:directory] do |t, args|
end
end
desc 'Generate REFERENCE.md'
task :reference, [:debug, :backtrace] do |t, args|
patterns = '<%= @configs['puppet_strings_patterns'].join(" ") %>'
Rake::Task['strings:generate:reference'].invoke(patterns, args[:debug], args[:backtrace])
end
begin
require 'github_changelog_generator/task'
GitHubChangelogGenerator::RakeTask.new :changelog do |config|
Expand Down

0 comments on commit b484d1d

Please sign in to comment.