diff options
author | Alon Zakai <alonzakai@gmail.com> | 2014-01-02 18:38:44 -0800 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2014-01-02 18:38:44 -0800 |
commit | 8bd21f1fff1ddac70f617291dbe2501efa11be30 (patch) | |
tree | b6bdcffd122b1a752b6a553518fde1ff8cc414a7 /emcc | |
parent | e38e23dec37f0e110775312575b825bfdd31cf2e (diff) |
deprecate compression
Diffstat (limited to 'emcc')
-rwxr-xr-x | emcc | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -348,7 +348,9 @@ Options that are modified or new in %s include: --embed-file and --preload-file wildcard is supported - --compression <codec> Compress both the compiled code and embedded/ + --compression <codec> **THIS OPTION IS DEPRECATED** + + Compress both the compiled code and embedded/ preloaded files. <codec> should be a triple, <native_encoder>,<js_decoder>,<js_name> @@ -922,6 +924,7 @@ try: newargs[i] = '' newargs[i+1] = '' elif newargs[i].startswith('--compression'): + logging.warning('--compression is deprecated. Instead, it is recommended you use native gzip compression in your webserver') check_bad_eq(newargs[i]) parts = newargs[i+1].split(',') assert len(parts) == 3, '--compression requires specifying native_encoder,js_decoder,js_name - see emcc --help. got: %s' % newargs[i+1] |