summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorey Hulen <corey@hulen.com>2016-01-11 12:32:57 -0600
committerCorey Hulen <corey@hulen.com>2016-01-11 12:32:57 -0600
commit56b19df12a41c1a8140aa0d874069a235c7e9b62 (patch)
treececa20e46d725d53dab0a0e118e84023465b7a17
parent7511c80a6ae1a80f6d8d32e04cf24b577b99bc01 (diff)
parentb94aad1fd35773be749ec67c0c0c68f0a7ec38ea (diff)
downloadchat-56b19df12a41c1a8140aa0d874069a235c7e9b62.tar.gz
chat-56b19df12a41c1a8140aa0d874069a235c7e9b62.tar.bz2
chat-56b19df12a41c1a8140aa0d874069a235c7e9b62.zip
Merge pull request #1856 from mattermost/react-rm-debug
Removing react debugging
-rw-r--r--Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 1d7fbea5a..9fd74b959 100644
--- a/Makefile
+++ b/Makefile
@@ -126,10 +126,6 @@ package:
cp -RL web/static/js/jquery-dragster $(DIST_PATH)/web/static/js/
cp -RL web/templates $(DIST_PATH)/web
- cp -L web/static/js/react-0.14.3.js $(DIST_PATH)/web/static/js/
- cp -L web/static/js/react-dom-0.14.3.js $(DIST_PATH)/web/static/js/
- cp -L web/static/js/react-bootstrap-0.28.1.js $(DIST_PATH)/web/static/js/
-
mkdir -p $(DIST_PATH)/api
cp -RL api/templates $(DIST_PATH)/api
@@ -140,11 +136,11 @@ package:
mv $(DIST_PATH)/web/static/js/bundle.min.js $(DIST_PATH)/web/static/js/bundle-$(BUILD_NUMBER).min.js
mv $(DIST_PATH)/web/static/js/libs.min.js $(DIST_PATH)/web/static/js/libs-$(BUILD_NUMBER).min.js
- #sed -i'.bak' 's|react-0.14.3.js|react-0.14.3.min.js|g' $(DIST_PATH)/web/templates/head.html
- #sed -i'.bak' 's|react-dom-0.14.3.js|react-dom-0.14.3.min.js|g' $(DIST_PATH)/web/templates/head.html
+ sed -i'.bak' 's|react-0.14.3.js|react-0.14.3.min.js|g' $(DIST_PATH)/web/templates/head.html
+ sed -i'.bak' 's|react-dom-0.14.3.js|react-dom-0.14.3.min.js|g' $(DIST_PATH)/web/templates/head.html
sed -i'.bak' 's|jquery-2.1.4.js|jquery-2.1.4.min.js|g' $(DIST_PATH)/web/templates/head.html
sed -i'.bak' 's|bootstrap-3.3.5.js|bootstrap-3.3.5.min.js|g' $(DIST_PATH)/web/templates/head.html
- #sed -i'.bak' 's|react-bootstrap-0.28.1.js|react-bootstrap-0.28.1.min.js|g' $(DIST_PATH)/web/templates/head.html
+ sed -i'.bak' 's|react-bootstrap-0.28.1.js|react-bootstrap-0.28.1.min.js|g' $(DIST_PATH)/web/templates/head.html
sed -i'.bak' 's|perfect-scrollbar-0.6.7.jquery.js|perfect-scrollbar-0.6.7.jquery.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
sed -i'.bak' 's|libs.min.js|libs-$(BUILD_NUMBER).min.js|g' $(DIST_PATH)/web/templates/head.html