Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Commit

Permalink
chore: lets download go mods early to avoid git token timeouts
Browse files Browse the repository at this point in the history
  • Loading branch information
rawlingsj authored Mar 10, 2020
1 parent 6c10911 commit 1905e0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -159,4 +160,4 @@ lint: ## Lint the code
./hack/generate.sh

.PHONY: all
all: fmt build test lint
all: fmt build test lint

0 comments on commit 1905e0d

Please sign in to comment.