mirror of
https://github.com/fluxcd/flux2.git
synced 2026-02-13 19:27:28 +00:00
Merge pull request #1948 from darkowlzz/fix-install-make-target
Makefile: set install target as phony
This commit is contained in:
commit
5389859260
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
|
@ -51,8 +51,9 @@ $(EMBEDDED_MANIFESTS_TARGET): $(call rwildcard,manifests/,*.yaml *.json)
|
|||
build: $(EMBEDDED_MANIFESTS_TARGET)
|
||||
CGO_ENABLED=0 go build -ldflags="-s -w -X main.VERSION=$(VERSION)" -o ./bin/flux ./cmd/flux
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
go install cmd/flux
|
||||
CGO_ENABLED=0 go install ./cmd/flux
|
||||
|
||||
install-dev:
|
||||
CGO_ENABLED=0 go build -o /usr/local/bin ./cmd/flux
|
||||
|
|
|
|||
Loading…
Reference in a new issue