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:
8
manuscript/generate_preview.py
Executable file
8
manuscript/generate_preview.py
Executable 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", " "))
|
||||
Reference in New Issue
Block a user