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 FLAGS:=-modcacherw -trimpath
LDFLAGS:= -ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo LDFLAGS:= -ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo
all: web/*.jade.go ${TARGET} all: web/*.pug.go ${TARGET}
.PHONY: ${TARGET} install uninstall install-jade run .PHONY: ${TARGET} install uninstall run
${TARGET}: ${TARGET}:
go build -o bin/$@ ${LDFLAGS} ${FLAGS} cmd/$@/main.go 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 install github.com/Joker/jade/cmd/jade@latest
go generate web/web.go go generate web/web.go