Oh, forgot to change jade to pug.
This commit is contained in:
parent
de4e5204e9
commit
f6b9a511ae
6
Makefile
6
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user