From f6b9a511aefc717e060ecb533260f7d6d854cf68 Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 27 May 2023 00:35:27 +0400 Subject: [PATCH] Oh, forgot to change jade to pug. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d3a658d..d4b50f0 100755 --- a/Makefile +++ b/Makefile @@ -11,13 +11,13 @@ VERSION=23.21.0 FLAGS:=-modcacherw -trimpath LDFLAGS:= -ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo -all: web/*.jade.go ${TARGET} -.PHONY: ${TARGET} install uninstall install-jade run +all: web/*.pug.go ${TARGET} +.PHONY: ${TARGET} install uninstall run ${TARGET}: go build -o bin/$@ ${LDFLAGS} ${FLAGS} cmd/$@/main.go -web/*.jade.go: web/templates/*.pug +web/*.pug.go: web/templates/*.pug go install github.com/Joker/jade/cmd/jade@latest go generate web/web.go