added docker runner into core codebase
supports both local command runner and docker runner added docker files for tex live also fixed tests so they exit correctly & removed debug lines
This commit is contained in:
@@ -21,7 +21,6 @@ describe "Simple LaTeX file", ->
|
||||
|
||||
it "should return the PDF", ->
|
||||
pdf = Client.getOutputFile(@body, "pdf")
|
||||
console.log @body
|
||||
pdf.type.should.equal "pdf"
|
||||
|
||||
it "should return the log", ->
|
||||
|
||||
@@ -23,7 +23,6 @@ describe "Timed out compile", ->
|
||||
Client.compile @project_id, @request, (@error, @res, @body) => done()
|
||||
|
||||
it "should return a timeout error", ->
|
||||
console.log @body.compile, "!!!1111"
|
||||
@body.compile.error.should.equal "container timed out"
|
||||
|
||||
it "should return a timedout status", ->
|
||||
|
||||
@@ -11,7 +11,6 @@ module.exports = Client =
|
||||
Math.random().toString(16).slice(2)
|
||||
|
||||
compile: (project_id, data, callback = (error, res, body) ->) ->
|
||||
console.log("#{@host}/project/#{project_id}/compile")
|
||||
request.post {
|
||||
url: "#{@host}/project/#{project_id}/compile"
|
||||
json:
|
||||
|
||||
Reference in New Issue
Block a user