In web/*.jade.go target perform check for changes in templates.
This commit is contained in:
parent
3696e1dfe1
commit
35468af206
2
Makefile
2
Makefile
@ -17,7 +17,7 @@ ${TARGET}:
|
|||||||
go build -o bin/$@ ${LDFLAGS} cmd/$@/main.go
|
go build -o bin/$@ ${LDFLAGS} cmd/$@/main.go
|
||||||
go build -o bin/$@-clean ${LDFLAGS} cmd/$@-clean/main.go
|
go build -o bin/$@-clean ${LDFLAGS} cmd/$@-clean/main.go
|
||||||
|
|
||||||
web/*.jade.go:
|
web/*.jade.go: web/templates/*.jade
|
||||||
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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user