1
0

Oh, forgot to change jade to pug.

This commit is contained in:
Alexander Andreev 2023-05-27 00:35:27 +04:00
parent de4e5204e9
commit f6b9a511ae
Signed by: Arav
GPG Key ID: D22A817D95815393

View File

@ -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