Nah, let's remove bin/, so executable will be built every time.
This commit is contained in:
parent
fe87114fe0
commit
9e33fa359b
2
Makefile
2
Makefile
@ -11,7 +11,7 @@ LDFLAGS=-ldflags "-s -w -X main.version=${VERSION}" -tags osusergo,netgo
|
|||||||
|
|
||||||
.PHONY: run install uninstall clean
|
.PHONY: run install uninstall clean
|
||||||
|
|
||||||
bin/${TARGET}: web/*.pug.go
|
${TARGET}: web/*.pug.go
|
||||||
go build -o bin/$@ ${LDFLAGS} ${FLAGS} cmd/$@/main.go
|
go build -o bin/$@ ${LDFLAGS} ${FLAGS} cmd/$@/main.go
|
||||||
|
|
||||||
web/*.pug.go: web/templates/*.pug
|
web/*.pug.go: web/templates/*.pug
|
||||||
|
Loading…
Reference in New Issue
Block a user