diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-03-08 21:18:03 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-03-08 21:18:03 -0800 |
commit | f5b94a26214939e52a304e30b0404a2c584fdc62 (patch) | |
tree | db9b7558b3a753a24e469cddda851a7654c79399 /tools/shared.py | |
parent | 0f7e86251e6bea5b2a3227de8d4530b4727ad122 (diff) |
default closure compiler in a way that doesn't require EMSCRIPTEN_ROOT
Diffstat (limited to 'tools/shared.py')
-rw-r--r-- | tools/shared.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/shared.py b/tools/shared.py index fd51282b..7570473c 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -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: |