aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2012-03-20 13:37:59 -0700
committerAlon Zakai <alonzakai@gmail.com>2012-03-20 13:37:59 -0700
commited9b24c6844c70cee2540a4f1ce60795a7d64f03 (patch)
treea73cdce8f8ecfd9497bc9e63d84730dea0e560d3
parent1e13d4a41028cc5681768deb1eb4083f786ac091 (diff)
emcc help on --pre and --post-js
-rwxr-xr-xemcc8
1 files changed, 6 insertions, 2 deletions
diff --git a/emcc b/emcc
index 69dd999e..cdfe05c0 100755
--- a/emcc
+++ b/emcc
@@ -193,10 +193,14 @@ Options that are modified or new in %s include:
script to be run.
--pre-js <file> A file whose contents are added before the
- generated code
+ generated code. This is done *before*
+ optimization, so it will be minified
+ properly if closure compiler is run.
--post-js <file> A file whose contents are added after the
- generated code
+ generated code This is done *before*
+ optimization, so it will be minified
+ properly if closure compiler is run.
--embed-file <file> A file to embed inside the generated
JavaScript. The compiled code will be able