diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-02-03 18:54:40 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-02-03 18:54:40 -0800 |
commit | fe0255186c55dbda4510e0714a891391fe20934b (patch) | |
tree | b37b703cdcc028cbae694114be1c28a5ca7a04c6 | |
parent | 983bb3504f9632955301a314a3c51550b5ca1348 (diff) |
output pretty printed from closure, since we do whitespace compression later separately anyhow; pretty printed makes debugging easiser
-rw-r--r-- | tools/shared.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/shared.py b/tools/shared.py index db783e39..c02c0ac3 100644 --- a/tools/shared.py +++ b/tools/shared.py @@ -714,7 +714,7 @@ set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE ONLY)'''.replace('$EMSCRIPTEN_ROOT', path_ # java -Xmx1024m -jar CLOSURE_COMPILER --compilation_level ADVANCED_OPTIMIZATIONS --variable_map_output_file src.cpp.o.js.vars --js src.cpp.o.js --js_output_file src.cpp.o.cc.js cc_output = Popen(['java', '-jar', CLOSURE_COMPILER, '--compilation_level', 'ADVANCED_OPTIMIZATIONS', - #'--formatting', 'PRETTY_PRINT', + '--formatting', 'PRETTY_PRINT', #'--variable_map_output_file', filename + '.vars', '--js', filename, '--js_output_file', filename + '.cc.js'], stdout=PIPE, stderr=STDOUT).communicate()[0] if 'ERROR' in cc_output or not os.path.exists(filename + '.cc.js'): |