From 5226e5e2c9c3b59cdd7b4f048a482a6dfd04924b Mon Sep 17 00:00:00 2001 From: Arpad Ryszka Date: Fri, 31 Oct 2025 20:28:34 +0100 Subject: [PATCH] no screaming --- Makefile | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index c594d90..cb5020e 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ -SOURCES = $(shell find . -name "*.go" | grep -v [.]gen[.]go) +sources = $(shell find . -name "*.go" | grep -v [.]gen[.]go) default: build all: clean fmt build cover -build: $(SOURCES) tags promote-to-tags +build: $(sources) tags promote-to-tags go build tags: \ @@ -20,37 +20,37 @@ tags: \ promote-to-tags: tag/promote.gen.go go fmt tag/* -tag/block.gen.go: $(SOURCES) tag.block.txt +tag/block.gen.go: $(sources) tag.block.txt go run script/generate-tags.go < tag.block.txt > tag/block.gen.go -tag/inline.gen.go: $(SOURCES) tag.inline.txt +tag/inline.gen.go: $(sources) tag.inline.txt go run script/generate-tags.go Inline < tag.inline.txt > tag/inline.gen.go -tag/inlinechildren.gen.go: $(SOURCES) tag.inlinechildren.txt +tag/inlinechildren.gen.go: $(sources) tag.inlinechildren.txt go run script/generate-tags.go InlineChildren < tag.inlinechildren.txt > tag/inlinechildren.gen.go -tag/void.block.gen.go: $(SOURCES) tag.void.block.txt +tag/void.block.gen.go: $(sources) tag.void.block.txt go run script/generate-tags.go Void < tag.void.block.txt > tag/void.block.gen.go -tag/void.inline.gen.go: $(SOURCES) tag.void.inline.txt +tag/void.inline.gen.go: $(sources) tag.void.inline.txt go run script/generate-tags.go Void Inline < tag.void.inline.txt > tag/void.inline.gen.go -tag/preformatted.gen.go: $(SOURCES) tag.preformatted.txt +tag/preformatted.gen.go: $(sources) tag.preformatted.txt go run script/generate-tags.go Preformatted < tag.preformatted.txt > tag/preformatted.gen.go -tag/script.gen.go: $(SOURCES) tag.script.txt +tag/script.gen.go: $(sources) tag.script.txt go run script/generate-tags.go ScriptContent < tag.script.txt > tag/script.gen.go -tag/promote.gen.go: $(SOURCES) promote-to-tags.txt +tag/promote.gen.go: $(sources) promote-to-tags.txt go run script/promote-to-tags.go < promote-to-tags.txt > tag/promote.gen.go -fmt: $(SOURCES) tags +fmt: $(sources) tags go fmt ./... -check: $(SOURCES) tags promote-to-tags +check: $(sources) tags promote-to-tags go test -count 1 -.cover: $(SOURCES) tags promote-to-tags +.cover: $(sources) tags promote-to-tags go test -count 1 -coverprofile .cover cover: .cover