diff options
author | luxagraf <sng@luxagraf.net> | 2018-11-29 16:58:08 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-11-29 16:58:08 -0600 |
commit | 45245bc0a9b659ff547ec20eb70af3def4ee7c6f (patch) | |
tree | 30631165ee19543ba67f0d6f8487301f340ba580 | |
parent | 4974eb58480f413c67f5f6e8fac430186eda2b62 (diff) |
deleted my customer minify script
-rwxr-xr-x | minify.py | 11 |
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() |