Sha256: bd671c56201824bd192b4bdf3e5271b16e646285907b8056525e52e9d0012b3a

Contents?: true

Size: 461 Bytes

Versions: 4

Compression:

Stored size: 461 Bytes

Contents

require 'asciidoctor/doctest'
require 'rake/testtask'
require 'tilt'

DocTest::GeneratorTask.new(:generate) do |task|
  task.output_suite = DocTest::HTML::ExamplesSuite.new(examples_path: 'examples/html')
  task.examples_path = 'examples/asciidoc'
  task.converter_opts[:template_dirs] = 'templates'
end

Rake::TestTask.new(:test) do |task|
  task.description = 'Run tests for custom HTML backend'
  task.pattern = 'test/html_test.rb'
  task.libs << 'test'
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
asciidoctor-doctest-1.5.2.0 features/fixtures/html-slim/Rakefile
asciidoctor-doctest-1.5.1.2 features/fixtures/html-slim/Rakefile
asciidoctor-doctest-1.5.1.1 features/fixtures/html-slim/Rakefile
asciidoctor-doctest-1.5.1 features/fixtures/html-slim/Rakefile