From 42eaa744c0658e6f53263a5da1b9893d705749c2 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Wed, 31 Mar 2021 09:00:03 -0700 Subject: [PATCH] Makefile update --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index 99d95532c..d50ad8e22 100644 --- a/Makefile +++ b/Makefile @@ -90,6 +90,19 @@ server-linux-package: server-linux webapp cd package && tar -czvf ../dist/focalboard-server-linux-amd64.tar.gz ${PACKAGE_FOLDER} rm -rf package +server-enterprise-linux-package: server-linux webapp + rm -rf package + mkdir -p package/${PACKAGE_FOLDER}/bin + cp bin/linux/focalboard-server package/${PACKAGE_FOLDER}/bin + cp -R webapp/pack package/${PACKAGE_FOLDER}/pack + cp server-config.json package/${PACKAGE_FOLDER}/config.json + cp NOTICE.txt package/${PACKAGE_FOLDER} + cp webapp/NOTICE.txt package/${PACKAGE_FOLDER}/webapp-NOTICE.txt + cp $(BUILD_ENTERPRISE_DIR)/ENTERPRISE-EDITION-LICENSE.txt package/${PACKAGE_FOLDER} + mkdir -p dist + cd package && tar -czvf ../dist/focalboard-enterprise-server-linux-amd64.tar.gz ${PACKAGE_FOLDER} + rm -rf package + generate: cd server; go get -modfile=go.tools.mod github.com/golang/mock/mockgen cd server; go get -modfile=go.tools.mod github.com/jteeuwen/go-bindata