@_ConfigurableFilter(executable='CLOSURE_COMPILER_EXECUTABLE')
def closure_compiler(infile, executable='closure-compiler'):
 return runinplace('{} --warning_level QUIET --js %1 --js_output_file %2'.format(executable), infile)

@ _ConfigurableFilter ( executable = 'CLOSURE_COMPILER_EXECUTABLE' ) def closure_compiler ( infile , executable = 'closure-compiler' ) : return runinplace ( '{} --warning_level QUIET --js %1 --js_output_file %2' . format ( executable ) , infile )
run closure-compiler on a file .