From c7fe5e9aab6a39ab8457a1a68489d93e551e6031 Mon Sep 17 00:00:00 2001 From: Kyriakos Z <3829551+koox00@users.noreply.github.com> Date: Mon, 9 May 2022 13:52:17 +0300 Subject: [PATCH] Fixes: make run-server command (#20153) Moves setup-go-work as the first target for run-server to solve "go: inconsistent vendoring error" --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5797e6dcda..8a4d562376 100644 --- a/Makefile +++ b/Makefile @@ -473,7 +473,7 @@ validate-go-version: ## Validates the installed version of go against Mattermost build-templates: ## Compile all mjml email templates cd $(TEMPLATES_DIR) && $(MAKE) build -run-server: prepackaged-binaries validate-go-version start-docker setup-go-work ## Starts the server. +run-server: setup-go-work prepackaged-binaries validate-go-version start-docker ## Starts the server. @echo Running mattermost for development mkdir -p $(BUILD_WEBAPP_DIR)/dist/files