diff options
author | Ralph Amissah <ralph@amissah.com> | 2016-02-24 23:21:06 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2016-02-24 23:54:58 -0500 |
commit | ee91e6282464321d5f1e8694c048c24abf8d15d7 (patch) | |
tree | f625748df5ac43de3b19ad96863b098eb1231af6 /lib/sisu/hub.rb | |
parent | txt_orgmode, update (dp add email header field) (diff) |
json, an output representation, first pass
Diffstat (limited to 'lib/sisu/hub.rb')
-rw-r--r-- | lib/sisu/hub.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sisu/hub.rb b/lib/sisu/hub.rb index c5bd0ced..49d569a5 100644 --- a/lib/sisu/hub.rb +++ b/lib/sisu/hub.rb @@ -129,6 +129,7 @@ module SiSU actions.outputs.each_file.html? actions.outputs.each_file.xhtml? actions.outputs.each_file.xml? + actions.outputs.each_file.json? actions.outputs.each_file.pdf? actions.outputs.each_file.man_or_info? actions.outputs.each_file.po4a_make? @@ -260,7 +261,7 @@ module SiSU ensure if FileTest.directory?(env.processing_path.processing) \ and FileTest.directory?(env.processing_path.processing_base_tmp) \ - and env.processing_path.processing_base_tmp =~/#{env.processing_path.processing}/ \ + and env.processing_path.processing_base_tmp =~ /#{env.processing_path.processing}/ \ and env.processing_path.processing_base_tmp =~/^\/tmp\/\S+/ \ and not argv.inspect =~/"--maintenance"|"-M"/ FileUtils::cd(env.processing_path.processing_base_tmp) do |