Use latest for templ CLI in justfile

This commit is contained in:
2026-05-20 22:08:37 +02:00
parent 1dab9d6e7c
commit 82252ce1ff
+1 -1
View File
@@ -7,7 +7,7 @@ templ-install:
@if ! command -v templ > /dev/null; then \
read -p "Go's 'templ' is not installed on your machine. Do you want to install it? [Y/n] " choice; \
if [ "$$choice" != "n" ] && [ "$$choice" != "N" ]; then \
go install github.com/a-h/templ/cmd/templ@v0.3.1020; \
go install github.com/a-h/templ/cmd/templ@latest; \
if [ ! -x "$$(command -v templ)" ]; then \
echo "templ installation failed. Exiting..."; \
exit 1; \