def _minify(source_path, target_path):
 cmd = ('java -jar %s %s -o %s' % (YUICOMPRESSOR_DIR, source_path, target_path))
 subprocess.check_call(cmd, shell=True)

def _minify ( source_path , target_path ) : cmd = ( 'java -jar %s %s -o %s' % ( YUICOMPRESSOR_DIR , source_path , target_path ) ) subprocess . check_call ( cmd , shell = True )
runs the given file through a minifier and outputs it to target_path .