1
0

Remove unwanted spaces between <a> with help of sed in Makefile.

This commit is contained in:
Alexander Andreev 2024-06-27 03:03:36 +04:00
parent 6f06ee8977
commit 8a2740e7ab
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -26,6 +26,7 @@ ifeq (,$(wildcard $(shell go env GOPATH)/bin/templ))
go install github.com/a-h/templ/cmd/templ@latest go install github.com/a-h/templ/cmd/templ@latest
endif endif
TEMPL_EXPERIMENT=rawgo $(shell go env GOPATH)/bin/templ generate TEMPL_EXPERIMENT=rawgo $(shell go env GOPATH)/bin/templ generate
sed -ri 's/a> "/a>"/g' web/*_templ.go
run: | ${TARGET} run: | ${TARGET}
bin/${TARGET} -listen 127.0.0.1:18123 -database-path . -captcha-expiry 10m \ bin/${TARGET} -listen 127.0.0.1:18123 -database-path . -captcha-expiry 10m \