Browse Source

Fix build script.

pull/5/head
Matthew Petroff 11 years ago
parent
commit
5735892aca
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      utils/build.py

+ 1
- 1
utils/build.py View File

@@ -63,7 +63,7 @@ def htmlCompress(text):
with os.fdopen(in_tuple[0], 'w') as handle:
handle.write(text)
out_tuple = tempfile.mkstemp()
os.system("java -jar htmlcompressor-1.5.3.jar --remove-intertag-spaces --remove-quotes --compress-js --js-compressor closure -o %s %s" % (out_tuple[1], in_tuple[1]))
os.system("java -jar htmlcompressor-1.5.3.jar --remove-intertag-spaces --remove-quotes -o %s %s" % (out_tuple[1], in_tuple[1]))
with os.fdopen(out_tuple[0], 'r') as handle:
compressed = handle.read()
os.unlink(in_tuple[1])


Loading…
Cancel
Save