needs hacked pacth in docker runner

wip

most tests pass
This commit is contained in:
Henry Oswald committed 2018-03-02 17:14:20 +00:00
1 parent b64106b730
commit 017ba3a4ec
19 files changed
+3008 -1912

No files matched your search

@@ -11,7 +11,8 @@ try
catch e
convertToPng = (pdfPath, pngPath, callback = (error) ->) ->
convert = ChildProcess.exec "convert #{fixturePath(pdfPath)} #{fixturePath(pngPath)}"
command = "convert #{fixturePath(pdfPath)} #{fixturePath(pngPath)}"
convert = ChildProcess.exec command
stdout = ""
convert.stdout.on "data", (chunk) -> console.log "STDOUT", chunk.toString()
convert.stderr.on "data", (chunk) -> console.log "STDERR", chunk.toString()
@@ -31,6 +31,7 @@ module.exports = Client =
express = require("express")
app = express()
app.use express.static(directory)
console.log("starting test server on", port, host)
app.listen(port, host).on "error", (error) ->
console.error "error starting server:", error.message
process.exit(1)