aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xminify.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/minify.py b/minify.py
deleted file mode 100755
index 52d27a6..0000000
--- a/minify.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from jsmin import jsmin
-import os
-minified = ""
-
-for filename in os.listdir('scripts'):
- if not os.path.isdir(os.path.join('scripts', filename)):
- with open(os.path.join('scripts', filename)) as js_file:
- minified += jsmin(js_file.read())
-with open('media/js/package.min.js', 'w') as jscompressed:
- jscompressed.write(minified)
- jscompressed.close()