0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 18:42:58 +00:00

Update Makefile

This commit is contained in:
Dan Petersen 2019-12-16 02:18:23 +01:00
parent 72f10d9ebe
commit 440d24f2d4

View File

@ -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)