summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorhmhealey <harrisonmhealey@gmail.com>2015-07-06 10:13:38 -0400
committerhmhealey <harrisonmhealey@gmail.com>2015-07-08 09:28:58 -0400
commit9da9f62f44f6d07fb1cc73df4cccef5d4ff6e567 (patch)
treebbdbd1a77d6dcb0f83c82990c294705b6666c22c /Makefile
parent66e2ff0ae3e2a435d0dd3d7a804a35fd5b58a984 (diff)
downloadchat-9da9f62f44f6d07fb1cc73df4cccef5d4ff6e567.tar.gz
chat-9da9f62f44f6d07fb1cc73df4cccef5d4ff6e567.tar.bz2
chat-9da9f62f44f6d07fb1cc73df4cccef5d4ff6e567.zip
Use correctly minified and unminified js libraries for JQuery, Bootstrap, and Perfect Scrollbar
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index e59e03ee7..724497d91 100644
--- a/Makefile
+++ b/Makefile
@@ -180,7 +180,10 @@ dist: install
mv $(DIST_PATH)/web/static/js/bundle.min.js $(DIST_PATH)/web/static/js/bundle-$(BUILD_NUMBER).min.js
@sed -i'.bak' 's|react-with-addons-0.13.1.js|react-with-addons-0.13.1.min.js|g' $(DIST_PATH)/web/templates/head.html
+ @sed -i'.bak' 's|jquery-1.11.1.js|jquery-1.11.1.min.js|g' $(DIST_PATH)/web/templates/head.html
+ @sed -i'.bak' 's|bootstrap-3.3.1.js|bootstrap-3.3.1.min.js|g' $(DIST_PATH)/web/templates/head.html
+ @sed -i'.bak' 's|perfect-scrollbar.js|perfect-scrollbar.min.js|g' $(DIST_PATH)/web/templates/head.html
@sed -i'.bak' 's|bundle.js|bundle-$(BUILD_NUMBER).min.js|g' $(DIST_PATH)/web/templates/head.html
rm $(DIST_PATH)/web/templates/*.bak
- tar -C dist -czf $(DIST_PATH).tar.gz mattermost \ No newline at end of file
+ tar -C dist -czf $(DIST_PATH).tar.gz mattermost