tests for process package

This commit is contained in:
Julien Neuhart
2018-04-05 11:24:14 +02:00
parent ee15a52001
commit 62ad3e20fa
3 changed files with 150 additions and 2 deletions

View File

@@ -0,0 +1,14 @@
port: 3000
logs:
level: "DEBUG"
format: "text"
commands:
html:
timeout: 0
template: "xvfb-run -e /dev/stdout wkhtmltopdf {{ .FilePath }} {{ .ResultFilePath }}"
office:
timeout: 0
template: "unoconv --format pdf --output \"{{ .ResultFilePath }}\" \"{{ .FilePath }}\""
merge:
timeout: 0
template: "pdftk {{ range $filePath := .FilesPaths }} {{ $filePath }} {{ end }} cat output {{ .ResultFilePath }}"