bin/asciidoctor-epub3 in asciidoctor-epub3-1.5.0.alpha.5 vs bin/asciidoctor-epub3 in asciidoctor-epub3-1.5.0.alpha.6

- old
+ new

@@ -1,7 +1,11 @@ #!/usr/bin/env ruby -require_relative '../lib/asciidoctor-epub3' +if File.exist?(asciidoctor_epub3 = (File.expand_path '../../lib/asciidoctor-epub3', __FILE__)) + require asciidoctor_epub3 +else + require 'asciidoctor-epub3' +end require 'asciidoctor/cli' options = Asciidoctor::Cli::Options.new backend: 'epub3' # FIXME provide an API in Asciidoctor for sub-components to print version information