mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-02 03:22: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:
|
fmt:
|
||||||
gofmt -w $(GOFMT_FILES)
|
gofmt -w $(GOFMT_FILES)
|
||||||
|
|
||||||
test:
|
|
||||||
go test -v ./...
|
|
||||||
|
|
||||||
init:
|
init:
|
||||||
go get ./...
|
go get ./...
|
||||||
|
|
||||||
targets: $(TARGETS)
|
targets: $(TARGETS)
|
||||||
|
|
||||||
|
test:
|
||||||
|
go test -v ./...
|
||||||
|
|
||||||
$(TARGETS):
|
$(TARGETS):
|
||||||
GOOS=$@ GOARCH=amd64 CGO_ENABLED=0 go build \
|
GOOS=$@ GOARCH=amd64 CGO_ENABLED=0 go build \
|
||||||
-o "dist/$@/$(NAME)_v$(VERSION)-custom_x4" \
|
-o "dist/$@/$(NAME)_v$(VERSION)-custom_x4" \
|
||||||
@ -43,4 +43,4 @@ $(TARGETS):
|
|||||||
-j "dist/$(NAME)_v$(VERSION)-custom_$@_amd64.zip" \
|
-j "dist/$(NAME)_v$(VERSION)-custom_$@_amd64.zip" \
|
||||||
"dist/$@/$(NAME)_v$(VERSION)-custom_x4"
|
"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