make redo output cleaner
Signed-off-by: Christine Dodrill <me@christine.website>
This commit is contained in:
parent
559605a024
commit
f1069eb1db
@ -2,4 +2,4 @@ exec >&2
|
|||||||
|
|
||||||
redo-ifchange ./out/$2.epub
|
redo-ifchange ./out/$2.epub
|
||||||
|
|
||||||
ebook-convert ./out/$2.epub ./out/$2.mobi
|
ebook-convert ./out/$2.epub ./out/$2.mobi >/dev/null
|
@ -25,6 +25,6 @@ wordcount = {
|
|||||||
function Pandoc(el)
|
function Pandoc(el)
|
||||||
-- skip metadata, just count body:
|
-- skip metadata, just count body:
|
||||||
pandoc.walk_block(pandoc.Div(el.blocks), wordcount)
|
pandoc.walk_block(pandoc.Div(el.blocks), wordcount)
|
||||||
print(words .. " words in body")
|
print(" " .. words .. " words in body")
|
||||||
os.exit(0)
|
os.exit(0)
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user