mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-01 19:12:59 +00:00
Update Makefile
This commit is contained in:
parent
72f10d9ebe
commit
440d24f2d4
8
Makefile
8
Makefile
@ -27,14 +27,14 @@ example-plan:
|
||||
fmt:
|
||||
gofmt -w $(GOFMT_FILES)
|
||||
|
||||
test:
|
||||
go test -v ./...
|
||||
|
||||
init:
|
||||
go get ./...
|
||||
|
||||
targets: $(TARGETS)
|
||||
|
||||
test:
|
||||
go test -v ./...
|
||||
|
||||
$(TARGETS):
|
||||
GOOS=$@ GOARCH=amd64 CGO_ENABLED=0 go build \
|
||||
-o "dist/$@/$(NAME)_v$(VERSION)-custom_x4" \
|
||||
@ -43,4 +43,4 @@ $(TARGETS):
|
||||
-j "dist/$(NAME)_v$(VERSION)-custom_$@_amd64.zip" \
|
||||
"dist/$@/$(NAME)_v$(VERSION)-custom_x4"
|
||||
|
||||
.PHONY: build example example-apply example-destroy example-init example-plan fmt test init targets $(TARGETS)
|
||||
.PHONY: build example example-apply example-destroy example-init example-plan fmt init targets test $(TARGETS)
|
||||
|
Loading…
Reference in New Issue
Block a user