summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2017-12-05 16:35:46 -0500
committerGitHub <noreply@github.com>2017-12-05 16:35:46 -0500
commit150de584c348d6317199fd619f0c144464b8f755 (patch)
tree1a9a6c327706e6be0adb00df519b9e027e9e0e0a /Makefile
parentc171872472672d129e1e4dbc99930d75a4cd59c7 (diff)
downloadchat-150de584c348d6317199fd619f0c144464b8f755.tar.gz
chat-150de584c348d6317199fd619f0c144464b8f755.tar.bz2
chat-150de584c348d6317199fd619f0c144464b8f755.zip
PLT-8131 Bundled zoom plugin (#7947)
* Bundled zoom plugin * Update plugin to latest
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index e3664e0b4..cbfa25ffb 100644
--- a/Makefile
+++ b/Makefile
@@ -286,6 +286,17 @@ update-jira-plugin:
rm plugin.tar.gz
gofmt -s -w ./app/plugin/jira
+update-zoom-plugin:
+ go get github.com/jteeuwen/go-bindata/...
+ curl -s https://api.github.com/repos/mattermost/mattermost-plugin-zoom/releases/latest | grep browser_download_url | grep darwin-amd64 | cut -d '"' -f 4 | wget -qi - -O plugin.tar.gz
+ $(shell go env GOPATH)/bin/go-bindata -pkg zoom -o app/plugin/zoom/plugin_darwin_amd64.go plugin.tar.gz
+ curl -s https://api.github.com/repos/mattermost/mattermost-plugin-zoom/releases/latest | grep browser_download_url | grep linux-amd64 | cut -d '"' -f 4 | wget -qi - -O plugin.tar.gz
+ $(shell go env GOPATH)/bin/go-bindata -pkg zoom -o app/plugin/zoom/plugin_linux_amd64.go plugin.tar.gz
+ curl -s https://api.github.com/repos/mattermost/mattermost-plugin-zoom/releases/latest | grep browser_download_url | grep windows-amd64 | cut -d '"' -f 4 | wget -qi - -O plugin.tar.gz
+ $(shell go env GOPATH)/bin/go-bindata -pkg zoom -o app/plugin/zoom/plugin_windows_amd64.go plugin.tar.gz
+ rm plugin.tar.gz
+ gofmt -s -w ./app/plugin/zoom
+
check-licenses:
./scripts/license-check.sh $(TE_PACKAGES) $(EE_PACKAGES)