Rakefile in asciidoctor-latex-1.5.0.4.dev vs Rakefile in asciidoctor-latex-1.5.0.5.dev
- old
+ new
@@ -36,16 +36,16 @@
task :doctest => [ 'doctest:latex', 'doctest:html' ]
task :test => :doctest
task :default => :test
namespace :generate do
-=begin
+
DocTest::GeneratorTask.new(:latex) do |t|
t.converter_opts[:backend_name] = :latex
t.output_suite = DocTest::Latex::ExamplesSuite.new(examples_path: 'test/examples/tex')
t.examples_path.unshift 'test/examples/adoc' # extra input examples
end
-=end
+
DocTest::GeneratorTask.new(:html) do |t|
t.converter_opts[:backend_name] = :html
t.output_suite = DocTest::HTML::ExamplesSuite.new(examples_path: 'test/examples/html')
t.examples_path = ['test/examples/asciidoc-html'] # input examples
end