Exit with exitcode if build failed
This commit is contained in:
parent
60dbfdfea4
commit
37d76ce708
1 changed files with 1 additions and 1 deletions
|
@ -29,4 +29,4 @@ with open(outfilename, 'w') as outfile:
|
||||||
with open(filepath) as infile:
|
with open(filepath) as infile:
|
||||||
outfile.write(infile.read())
|
outfile.write(infile.read())
|
||||||
outfile.write("\n\\newpage{}\n")
|
outfile.write("\n\\newpage{}\n")
|
||||||
os.system(f"pandoc --from=markdown --template=template.tex --output=docs.pdf prefix.yaml {outfilename} --highlight-style=espresso")
|
exit(os.system(f"pandoc --from=markdown --template=template.tex --output=docs.pdf prefix.yaml {outfilename} --highlight-style=espresso"))
|
||||||
|
|
Loading…
Reference in a new issue