Skip to content

Commit 8d6855f

Browse files
authored
Merge pull request progit#1497 from HonkingGoose/temp-fix-breaking-builds
Temp fix for breaking builds: drop kindlegen dependency, drop .mobi build
2 parents 8b361da + d44051d commit 8d6855f

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

Gemfile

-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@ gem 'coderay'
1313
gem 'pygments.rb'
1414
gem 'thread_safe'
1515
gem 'epubcheck'
16-
gem 'kindlegen'

Rakefile

+7-3
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,13 @@ namespace :book do
2020
`bundle exec asciidoctor-epub3 #{params} progit.asc`
2121
puts " -- Epub output at progit.epub"
2222

23-
puts "Converting to Mobi (kf8)..."
24-
`bundle exec asciidoctor-epub3 #{params} -a ebook-format=kf8 progit.asc`
25-
puts " -- Mobi output at progit.mobi"
23+
# Commented out the .mobi file creation because the kindlegen dependency is not available.
24+
# For more information on this see: #1496.
25+
# This is a (hopefully) temporary fix until upstream asciidoctor-epub3 is fixed and we can offer .mobi files again.
26+
27+
# puts "Converting to Mobi (kf8)..."
28+
# `bundle exec asciidoctor-epub3 #{params} -a ebook-format=kf8 progit.asc`
29+
# puts " -- Mobi output at progit.mobi"
2630

2731
puts "Converting to PDF... (this one takes a while)"
2832
`bundle exec asciidoctor-pdf #{params} progit.asc 2>/dev/null`

0 commit comments

Comments
 (0)