Skip to content

Commit 16f6975

Browse files
Merge pull request #23 from abhishek97/csv
Csv
2 parents ded70f5 + f3730c4 commit 16f6975

File tree

8 files changed

+173
-229
lines changed

8 files changed

+173
-229
lines changed

Diff for: .gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -110,3 +110,5 @@ crashlytics.properties
110110
crashlytics-build.properties
111111
fabric.properties
112112

113+
dist/
114+
.vscode/

Diff for: config.js

+6-1
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ exports = module.exports = {
5353
SOURCE_FILE: 'script.rb',
5454
CPU_SHARE: "0.8",
5555
MEM_LIMIT: '300m'
56-
}
56+
},
57+
'csv': {
58+
SOURCE_FILE: 'script.py',
59+
CPU_SHARE: "0.8",
60+
MEM_LIMIT: '500m',
61+
},
5762
}
5863
}

Diff for: dist/taskmaster.js

-28
This file was deleted.

Diff for: dist/taskmaster.js.map

-1
This file was deleted.

Diff for: dist/tasks/run.js

-38
This file was deleted.

Diff for: dist/tasks/run.js.map

-1
This file was deleted.

Diff for: src/tasks/run.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ function execRun (job: RunJob, executed: (result: RunResult) => void) {
2929
bash -c "/bin/compile.sh && /bin/run.sh"
3030
`)
3131

32-
let stdout = cat(path.join(currentJobDir, 'run.stdout')).toString()
32+
let stdout = cat(path.join(currentJobDir, 'run.stdout'))
3333

34-
// Check for compile_stderr if no stdout found
35-
let compile_stderr = stdout ? '' : cat(path.join(currentJobDir, 'compile.stderr'))
34+
// Check for compile_stderr if can't find a stdout file ; stdout can be ''
35+
let compile_stderr = stdout.stderr ? cat(path.join(currentJobDir, 'compile.stderr')) : ''
3636
let stderr = compile_stderr || cat((path.join(currentJobDir, 'run.stderr')).toString())
3737

3838
executed({

0 commit comments

Comments
 (0)