summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-08-01 05:53:42 -0700
committerHarrison Healey <harrisonmhealey@gmail.com>2017-08-01 08:53:42 -0400
commit0331409488083a58d66fdf58eb22cbaa924237f6 (patch)
tree781083667075eecbe6c40b7698a7ec5ad8d1216b /Makefile
parent88f398ffddbcbb58265d085c09cb72008be3f3d5 (diff)
downloadchat-0331409488083a58d66fdf58eb22cbaa924237f6.tar.gz
chat-0331409488083a58d66fdf58eb22cbaa924237f6.tar.bz2
chat-0331409488083a58d66fdf58eb22cbaa924237f6.zip
Add jobserver command to platform binary (#7067)
* Add jobserver command to platform binary * Fixing jobserver config. Adding jobserver flags. * Fixing govet in makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 1 insertions, 16 deletions
diff --git a/Makefile b/Makefile
index 194ab3eeb..026a76582 100644
--- a/Makefile
+++ b/Makefile
@@ -365,20 +365,6 @@ build-client:
cd $(BUILD_WEBAPP_DIR) && $(MAKE) build
-build-job-server: build-job-server-linux build-job-server-mac build-job-server-windows
-
-build-job-server-linux: .prebuild prepare-enterprise
- @echo Build mattermost job server for Linux amd64
- env GOOS=linux GOARCH=amd64 $(GO) build $(GOFLAGS) $(GO_LINKER_FLAGS) ./jobs/jobserver
-
-build-job-server-osx: .prebuild prepare-enterprise
- @echo Build mattermost job server for OSX amd64
- env GOOS=darwin GOARCH=amd64 $(GO) build $(GOFLAGS) $(GO_LINKER_FLAGS) ./jobs/jobserver
-
-build-job-server-windows: .prebuild prepare-enterprise
- @echo Build mattermost job server for Windows amd64
- env GOOS=windows GOARCH=amd64 $(GO) build $(GOFLAGS) $(GO_LINKER_FLAGS) ./jobs/jobserver
-
package: build build-client
@ echo Packaging mattermost
@@ -515,7 +501,7 @@ restart-client: | stop-client run-client
run-job-server:
@echo Running job server for development
- $(GO) run $(GOFLAGS) $(GO_LINKER_FLAGS) ./jobs/jobserver/jobserver.go
+ $(GO) run $(GOFLAGS) $(GO_LINKER_FLAGS) ./cmd/platform/*.go jobserver --disableconfigwatch &
clean: stop-docker
@echo Cleaning
@@ -556,7 +542,6 @@ govet:
$(GO) vet $(GOFLAGS) ./cmd/platform || exit 1
$(GO) vet $(GOFLAGS) ./einterfaces || exit 1
$(GO) vet $(GOFLAGS) ./jobs || exit 1
- $(GO) vet $(GOFLAGS) ./jobs/jobserver || exit 1
$(GO) vet $(GOFLAGS) ./manualtesting || exit 1
$(GO) vet $(GOFLAGS) ./model || exit 1
$(GO) vet $(GOFLAGS) ./model/gitlab || exit 1