mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-21 14:20:40 +00:00
add renovate annotation to xgo in makefile
This commit is contained in:
parent
fa7d2c03a9
commit
636635b9d4
5
Makefile
5
Makefile
@ -2,6 +2,8 @@
|
|||||||
GOFUMPT_PACKAGE_VERSION := v0.7.0
|
GOFUMPT_PACKAGE_VERSION := v0.7.0
|
||||||
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
# renovate: datasource=github-releases depName=golangci/golangci-lint
|
||||||
GOLANGCI_LINT_PACKAGE_VERSION := v1.61.0
|
GOLANGCI_LINT_PACKAGE_VERSION := v1.61.0
|
||||||
|
# renovate: datasource=docker depName=docker.io/techknowlogick/xgo
|
||||||
|
XGO_PACKAGE_VERSION := go-1.22.x
|
||||||
|
|
||||||
EXECUTABLE := wp-opentofu
|
EXECUTABLE := wp-opentofu
|
||||||
|
|
||||||
@ -19,7 +21,6 @@ GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@$(G
|
|||||||
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
|
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
|
||||||
GOTESTSUM_PACKAGE ?= gotest.tools/gotestsum@latest
|
GOTESTSUM_PACKAGE ?= gotest.tools/gotestsum@latest
|
||||||
|
|
||||||
XGO_VERSION := go-1.22.x
|
|
||||||
XGO_TARGETS ?= linux/amd64,linux/arm64
|
XGO_TARGETS ?= linux/amd64,linux/arm64
|
||||||
|
|
||||||
TARGETOS ?= linux
|
TARGETOS ?= linux
|
||||||
@ -81,7 +82,7 @@ $(DIST_DIRS):
|
|||||||
|
|
||||||
.PHONY: xgo
|
.PHONY: xgo
|
||||||
xgo: | $(DIST_DIRS)
|
xgo: | $(DIST_DIRS)
|
||||||
$(GO) run $(XGO_PACKAGE) -go $(XGO_VERSION) -v -ldflags '-extldflags "-static" $(LDFLAGS)' -tags '$(TAGS)' -targets '$(XGO_TARGETS)' -out $(EXECUTABLE) --pkg cmd/$(EXECUTABLE) .
|
$(GO) run $(XGO_PACKAGE) -go $(XGO_PACKAGE_VERSION) -v -ldflags '-extldflags "-static" $(LDFLAGS)' -tags '$(TAGS)' -targets '$(XGO_TARGETS)' -out $(EXECUTABLE) --pkg cmd/$(EXECUTABLE) .
|
||||||
cp /build/* $(CWD)/$(DIST)
|
cp /build/* $(CWD)/$(DIST)
|
||||||
ls -l $(CWD)/$(DIST)
|
ls -l $(CWD)/$(DIST)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user