From 8a2740e7ab128a76e195a8778bbbab7a5d8ed15a Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Thu, 27 Jun 2024 03:03:36 +0400 Subject: [PATCH] Remove unwanted spaces between with help of sed in Makefile. --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index df1379f..f212312 100755 --- a/Makefile +++ b/Makefile @@ -25,7 +25,8 @@ web/*_templ.go: web/*.templ ifeq (,$(wildcard $(shell go env GOPATH)/bin/templ)) go install github.com/a-h/templ/cmd/templ@latest 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} bin/${TARGET} -listen 127.0.0.1:18123 -database-path . -captcha-expiry 10m \