mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-30 23:34:30 +00:00
9a519f0d3d
supports both local command runner and docker runner added docker files for tex live also fixed tests so they exit correctly & removed debug lines
11 lines
366 B
CoffeeScript
11 lines
366 B
CoffeeScript
Settings = require "settings-sharelatex"
|
|
logger = require "logger-sharelatex"
|
|
|
|
if Settings.clsi?.dockerRunner == true
|
|
commandRunnerPath = "./DockerRunner"
|
|
else
|
|
commandRunnerPath = "./LocalCommandRunner"
|
|
logger.info commandRunnerPath:commandRunnerPath, "selecting command runner for clsi"
|
|
CommandRunner = require(commandRunnerPath)
|
|
|
|
module.exports = CommandRunner
|