1
0

When call a run target also check for need of rebuilding.

This commit is contained in:
Alexander Andreev 2024-06-25 04:38:49 +04:00
parent 74065d8a72
commit f608836bf3
Signed by: Arav
GPG Key ID: 25969B23DCB5CA34

View File

@ -27,7 +27,7 @@ ifeq (,$(wildcard $(shell go env GOPATH)/bin/templ))
endif endif
TEMPL_EXPERIMENT=rawgo $(shell go env GOPATH)/bin/templ generate TEMPL_EXPERIMENT=rawgo $(shell go env GOPATH)/bin/templ generate
run: 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 \
-guestbook-page-size 10 -guestbook-page-size 10