diff options
author | Alon Zakai <alonzakai@gmail.com> | 2013-01-16 12:10:03 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2013-01-16 12:10:03 -0800 |
commit | 6f39a74b9cad5aafd53be555d8a884e480d9bedd (patch) | |
tree | 3ea1e05abb897d92d188f6470a4a359ef9d4008d /tools | |
parent | b39052c106288d1c8717bb2000ceb316daebe231 (diff) |
js optimize debugging comment
Diffstat (limited to 'tools')
-rw-r--r-- | tools/js_optimizer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/js_optimizer.py b/tools/js_optimizer.py index b72a2084..f2e610d0 100644 --- a/tools/js_optimizer.py +++ b/tools/js_optimizer.py @@ -18,6 +18,7 @@ DEBUG = os.environ.get('EMCC_DEBUG') def run_on_chunk(command): filename = command[2] # XXX hackish + #print >> sys.stderr, 'running js optimizer command', ' '.join(command), '""""', open(filename).read() output = subprocess.Popen(command, stdout=subprocess.PIPE).communicate()[0] assert len(output) > 0 and not output.startswith('Assertion failed'), 'Error in js optimizer: ' + output filename = temp_files.get(os.path.basename(filename) + '.jo.js').name |