default closure compiler in a way that doesn't require EMSCRIPTEN_ROOT
This commit is contained in:
Родитель
0f7e86251e
Коммит
f5b94a2621
|
@ -10,8 +10,6 @@ NODE_JS = 'node'
|
|||
SPIDERMONKEY_ENGINE = [os.path.expanduser('~/Dev/mozilla-central/js/src/js'), '-m', '-n']
|
||||
V8_ENGINE = os.path.expanduser('~/Dev/v8/d8')
|
||||
|
||||
CLOSURE_COMPILER = os.path.join(EMSCRIPTEN_ROOT, 'third_party', 'closure-compiler', 'compiler.jar')
|
||||
|
||||
TEMP_DIR = '/tmp'
|
||||
|
||||
|
||||
|
|
|
@ -139,6 +139,11 @@ except:
|
|||
print 'ERROR: %s does not seem to have JS_ENGINES or JS_ENGINE set up' % EM_CONFIG
|
||||
raise
|
||||
|
||||
try:
|
||||
CLOSURE_COMPILER
|
||||
except:
|
||||
CLOSURE_COMPILER = path_from_root('third_party', 'closure-compiler', 'compiler.jar')
|
||||
|
||||
# Additional compiler options
|
||||
|
||||
try:
|
||||
|
|
Загрузка…
Ссылка в новой задаче