From 08c2c188d03fba803ecdb8d1f08347ab82c7c948 Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Mon, 30 Oct 2023 15:08:25 +0100 Subject: [PATCH] cleanup makefile --- .drone.yml | 1 + Makefile | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index b6d8c82..8d2aea5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/Makefile b/Makefile index 8cca49e..368d833 100644 --- a/Makefile +++ b/Makefile @@ -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)