From 1f56260bd0ebcaaca1ec7eaf311434783795cabb Mon Sep 17 00:00:00 2001 From: Simon Let Date: Mon, 20 Jan 2020 16:08:51 +0100 Subject: [PATCH] enforce that all build targets are added to goreleaser --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 9c3fe80..5b4ff8a 100644 --- a/Makefile +++ b/Makefile @@ -35,6 +35,7 @@ uninstall: -rm -rf ~/.resh/ bin/resh-%: cmd/%/*.go pkg/*/*.go cmd/control/cmd/*.go cmd/control/status/status.go + grep $@ .goreleaser.yml -q # all build targets need to be included in .goreleaser.yml go build ${GOFLAGS} -o $@ cmd/$*/*.go .PHONY: ser submodules build install rebuild uninstall clean