no screaming
This commit is contained in:
parent
effffeadf9
commit
5226e5e2c9
26
Makefile
26
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
|
default: build
|
||||||
|
|
||||||
all: clean fmt build cover
|
all: clean fmt build cover
|
||||||
|
|
||||||
build: $(SOURCES) tags promote-to-tags
|
build: $(sources) tags promote-to-tags
|
||||||
go build
|
go build
|
||||||
|
|
||||||
tags: \
|
tags: \
|
||||||
@ -20,37 +20,37 @@ tags: \
|
|||||||
promote-to-tags: tag/promote.gen.go
|
promote-to-tags: tag/promote.gen.go
|
||||||
go fmt tag/*
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
go run script/promote-to-tags.go < promote-to-tags.txt > tag/promote.gen.go
|
||||||
|
|
||||||
fmt: $(SOURCES) tags
|
fmt: $(sources) tags
|
||||||
go fmt ./...
|
go fmt ./...
|
||||||
|
|
||||||
check: $(SOURCES) tags promote-to-tags
|
check: $(sources) tags promote-to-tags
|
||||||
go test -count 1
|
go test -count 1
|
||||||
|
|
||||||
.cover: $(SOURCES) tags promote-to-tags
|
.cover: $(sources) tags promote-to-tags
|
||||||
go test -count 1 -coverprofile .cover
|
go test -count 1 -coverprofile .cover
|
||||||
|
|
||||||
cover: .cover
|
cover: .cover
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user