Merge pull request #72 from garethr/output-json-from-rake-task

(PDOC-70) Always generate the JSON doc when running the rake task
This commit is contained in:
Hailee Kenney 2016-03-24 23:10:29 -07:00
commit 80e05bf6b1
1 changed files with 3 additions and 1 deletions

View File

@ -6,7 +6,9 @@ require 'puppet_x/puppetlabs/strings/util'
namespace :strings do
desc 'Generate Puppet documentation with YARD.'
task :generate do
PuppetX::PuppetLabs::Strings::Util.generate
PuppetX::PuppetLabs::Strings::Util.generate([
{emit_json: 'strings.json'}
])
end
desc 'Serve YARD documentation for modules.'