mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-05 17:27:51 +00:00
[build] mark phony targets as such
This commit marks the phony targets in the Makefile as phony, following good Makefile practices (for example, so we don't have have issues with someone creating a file with a matching name in the future, etc).
This commit is contained in:
parent
88b3531ef5
commit
d46c73ae6f
1 changed files with 2 additions and 0 deletions
2
Makefile
2
Makefile
|
|
@ -24,6 +24,8 @@ ifeq ($(ARCH),s390x)
|
|||
BASEIMAGE?=s390x/busybox
|
||||
endif
|
||||
|
||||
.PHONY: all build docker-build push-% push test
|
||||
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue