NAME

closure-compile - Compile javascript using the Google closure API

SYNOPSIS

Usage: closure-compile [options] file/url...

Options:

--level WHITESPACE_ONLY, SIMPLE_OPTIMIZATIONS, or ADVANCED_OPTIMIZATIONS

After the options, specify one or more filenames or urls that you wish to optimize If no filenames are specified, javascript is read from standard input

For more information, see the Google Closure Tools website:

L<http://code.google.com/closure/>

EXAMPLES

Compile all Javascript files in one directory into one file

The following command will compile all javascript files in the js directory and put the output in compiled.js

cat js/*.js | closure-compile > compiled.js

AUTHOR

Magnus Erixzon, <magnus at erixzon.com>

BUGS

Please report any bugs or feature requests to bug-webservice-google-closure at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WebService-Google-Closure. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

LICENSE AND COPYRIGHT

Copyright 2010 Magnus Erixzon.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See http://dev.perl.org/licenses/ for more information.