Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Re-indent the minifier code

  • Loading branch information...
commit 87a07ea6a48c5e63aa2369ba6e23ac0474c98c50 1 parent d41aaa3
@gkoberger gkoberger authored
Showing with 3 additions and 5 deletions.
  1. +3 −5 jingo_minify/management/commands/compress_assets.py
View
8 jingo_minify/management/commands/compress_assets.py
@@ -106,19 +106,17 @@ def handle(self, **options):
if ftype == 'js' and hasattr(settings, 'UGLIFY_BIN'):
print "Minifying %s (using UglifyJS)" % concatted_file
call("%s %s -nc -o %s %s" % (settings.UGLIFY_BIN, v,
- compressed_file,
- concatted_file),
+ compressed_file, concatted_file),
shell=True, stdout=PIPE)
if ftype == 'css' and hasattr(settings, 'CLEANCSS_BIN'):
print "Minifying %s (using clean-css)" % concatted_file
call("%s -o %s %s" % (settings.CLEANCSS_BIN,
- compressed_file,
- concatted_file),
+ compressed_file, concatted_file),
shell=True, stdout=PIPE)
else:
print "Minifying %s (using YUICompressor)" % concatted_file
call("%s -jar %s %s %s -o %s" % (settings.JAVA_BIN,
- path_to_jar, v, concatted_file, compressed_file),
+ path_to_jar, v, concatted_file, compressed_file),
shell=True, stdout=PIPE)
self.update_hashes(bundle_hashes=bundle_hashes)
Please sign in to comment.
Something went wrong with that request. Please try again.