Skip to content

Commit

Permalink
Merge pull request #155 from Vlad-UA/master
Browse files Browse the repository at this point in the history
Advanced optimizations with additional option for longer names renaming
  • Loading branch information
tonistiigi committed Jun 1, 2015
2 parents 3ddfdac + c61194e commit 99c8b9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bin/lime.py
Expand Up @@ -288,6 +288,9 @@ def build(name,options):
if options.advanced:
call+=" -f --compilation_level=ADVANCED_OPTIMIZATIONS"

if options.debug:
call+=" -f --debug -f --formatting=PRETTY_PRINT"

if options.externs_file:
for i, opt in enumerate(options.externs_file):
call+=" -f --externs="+opt
Expand Down Expand Up @@ -385,6 +388,9 @@ def main():

parser.add_option("-a", "--advanced", dest="advanced", action="store_true",
help="Build uses ADVANCED_OPTIMIZATIONS mode (encouraged)")

parser.add_option("-g", "--debug", dest="debug", action="store_true",
help="Closure Compiler: longer names for symbols for debugging of the advanced optimizations.")

parser.add_option('-e', '--externs', dest="externs_file", action='append',
help="File with externs declarations.")
Expand Down

0 comments on commit 99c8b9f

Please sign in to comment.