From 91bc1dcd71f83c9abadbbef1a79226ed4b53e2de Mon Sep 17 00:00:00 2001 From: Solly Ross Date: Mon, 26 Jun 2017 15:30:54 -0400 Subject: [PATCH] [build] cause all to trigger build This commit causes the `all` Makefile rule to trigger `build` instead of `docker-build`. This allows people with convoluted setups that involve `go build`-ing and `docker build`-ing on different machines (like @directxman12) to not complain as much. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 9271e5b2..f43fc322 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ ifeq ($(ARCH),s390x) BASEIMAGE?=s390x/busybox endif -all: docker-build +all: build build: vendor CGO_ENABLED=0 GOARCH=$(ARCH) go build -a -tags netgo -o $(OUT_DIR)/$(ARCH)/adapter github.com/directxman12/k8s-prometheus-adapter/cmd/adapter