1
0
mirror of https://github.com/funkypenguin/geek-cookbook/ synced 2025-12-13 17:56:26 +00:00

Corrected not-so-tasty gitlab runner recipe

This commit is contained in:
David Young
2019-05-01 13:40:29 +12:00
parent f3036dfed5
commit a584363834
7 changed files with 232 additions and 5 deletions

8
manuscript/generate_preview.py Executable file
View File

@@ -0,0 +1,8 @@
#!/usr/bin/python
with open("Book.txt") as f:
print ('echo "Starting build of {book}.epub";'
"pandoc {files} " +
"+smart --table-of-contents --chapters -o {book}.epub;"
'echo " {book}.epub created."'
).format(book="Book", files=f.read().replace("\n", " "))