From 1905e0dc5dad3a1283756c8da6de69bfb6402eee Mon Sep 17 00:00:00 2001 From: James Rawlings Date: Tue, 10 Mar 2020 21:54:59 +0000 Subject: [PATCH] chore: lets download go mods early to avoid git token timeouts --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 60b0b73..ccb5db2 100644 --- a/Makefile +++ b/Makefile @@ -80,6 +80,7 @@ print-version: ## Print version @echo $(VERSION) build: $(GO_DEPENDENCIES) clean ## Build jx-labs binary for current OS + go mod download CGO_ENABLED=$(CGO_ENABLED) $(GO) $(BUILD_TARGET) $(BUILDFLAGS) -o build/$(NAME) $(MAIN_SRC_FILE) build-all: $(GO_DEPENDENCIES) build make-reports-dir ## Build all files - runtime, all tests etc. @@ -159,4 +160,4 @@ lint: ## Lint the code ./hack/generate.sh .PHONY: all -all: fmt build test lint \ No newline at end of file +all: fmt build test lint