From: John Lenz <concavel...@gmail.com>
Date: Fri, 13 Nov 2009 22:51:27 -0800
Local: Sat, Nov 14 2009 1:51 am
Subject: Re: [closure-compiler-discuss] Proper help on closure compiler
Until we have the documentation ready, here is a simple overview. The
Here is an example:
java -jar compiler.jar --js src1.js --js src2.js --js src3.js --module
This will create to modules:
The first module, I've named "first", contains the 2 file (the first two
"--module_output_path_prefix" is straightforward.
"--module_wrapper" is simply a way to add some extra text before and or
--module_wrapper "/* copyright 2010 */ %s"
Have fun.
-John
On Fri, Nov 13, 2009 at 1:09 AM, DotNetWise <alonec...@gmail.com> wrote:
> At this stage, there is no help other than command line help about > these: > --module A javascript module specification. The format is > <name>:<num-js-files>[:[<dep>,...][:]]]. Module names must be > unique. Each dep is the name of a module that this module > depends on. Modules must be listed in dependency order, and js > source files must be listed in the corresponding order. Where > --module flags occur in relation to --js flags is unimportant.; > default: > --module_output_path_prefix Prefix for filenames of compiled js > modules. <module-name>.js will be appended to this prefix. > Directories will be created as needed. Use with --module.; > default: ./ > --module_wrapper An output wrapper for a javascript module > (optional). The format is <name>:<wrapper>. The module name must > correspond with a module specified using --module. The wrapper > must contain %s as the code placeholder.; default: > http://code.google.com/p/closure-library/issues/detail?id=50
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||