metanorma / metanorma-cli

CLI (Command Line Interface) for Metanorma
BSD 2-Clause "Simplified" License
5 stars 5 forks source link

Build should not continue if Presentation XML generation failed #310

Closed ronaldtse closed 1 year ago

ronaldtse commented 1 year ago

From https://github.com/metanorma/SWF-Corpus_and_IEEEP2874-D2/issues/24

The following trace can only happen because the presentation XML failed to generate.

No such file or directory @ rb_sysopen - ~/src/mn/SWF-Corpus_and_IEEEP2874-D2/_site/documents/ieee-p2874/p2874.presentation.xml
ruby/3.1.2/lib/ruby/gems/3.1.0/gems/isodoc-2.5.10/lib/isodoc/convert.rb:147:in `read'
ruby/3.1.2/lib/ruby/gems/3.1.0/gems/isodoc-2.5.10/lib/isodoc/convert.rb:147:in `convert'
ruby/3.1.2/lib/ruby/gems/3.1.0/gems/isodoc-2.5.10/lib/isodoc/html_convert.rb:26:in `convert'
ruby/3.1.2/lib/ruby/gems/3.1.0/gems/metanorma-ieee-1.0.15/lib/metanorma/ieee/processor.rb:39:in `output'