Remove unwanted spaces between <a> with help of sed in Makefile.
This commit is contained in:
parent
6f06ee8977
commit
8a2740e7ab
3
Makefile
3
Makefile
@ -25,7 +25,8 @@ web/*_templ.go: web/*.templ
|
|||||||
ifeq (,$(wildcard $(shell go env GOPATH)/bin/templ))
|
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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user