0
0
mirror of https://github.com/thegeeklab/wp-ansible.git synced 2024-11-21 23:50:40 +00:00

cleanup makefile

This commit is contained in:
Robert Kaussow 2023-10-30 15:08:25 +01:00
parent 1baa24905b
commit 08c2c188d0
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0
2 changed files with 4 additions and 3 deletions

View File

@ -76,6 +76,7 @@ steps:
commands:
- git fetch -tq
- git-chglog --no-color --no-emoji -o CHANGELOG.md ${DRONE_TAG:---next-tag unreleased unreleased}
- cat CHANGELOG.md
- name: publish
image: docker.io/plugins/github-release

View File

@ -19,7 +19,7 @@ GOLANGCI_LINT_PACKAGE ?= github.com/golangci/golangci-lint/cmd/golangci-lint@$(G
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
GOTESTSUM_PACKAGE ?= gotest.tools/gotestsum@latest
GENERATE ?= $(IMPORT)/pkg/templates
GENERATE ?=
XGO_PACKAGE ?= src.techknowlogick.com/xgo@latest
GOTESTSUM_PACKAGE ?= gotest.tools/gotestsum@latest
XGO_VERSION := go-1.21.x
@ -47,7 +47,7 @@ all: build
.PHONY: clean
clean:
$(GO) clean -i ./...
rm -rf $(DIST_DIRS)
@rm -rf $(DIST_DIRS)
.PHONY: fmt
fmt:
@ -75,7 +75,7 @@ $(DIST)/$(NAME): $(SOURCES)
$(GO) build -v -tags '$(TAGS)' -ldflags '-extldflags "-static" $(LDFLAGS)' -o $@ ./cmd/$(NAME)
$(DIST_DIRS):
mkdir -p $(DIST_DIRS)
@mkdir -p $(DIST_DIRS)
.PHONY: xgo
xgo: | $(DIST_DIRS)