Have the Makefile rebuild when go.mod/sum changes
parent
f160c3855e
commit
3a0c09c7e0
2
Makefile
2
Makefile
|
@ -27,7 +27,7 @@ src/yarn.lock: public src/node_modules src/package.json
|
|||
public/script.js: src/script.js src/yarn.lock
|
||||
$(YARN) build
|
||||
|
||||
$(APPLICATION_NAME): *.go ffmpeg/*.go speaker/*.go
|
||||
$(APPLICATION_NAME): *.go ffmpeg/*.go speaker/*.go go.mod go.sum
|
||||
@go build
|
||||
|
||||
build: image js $(APPLICATION_NAME)
|
||||
|
|
Loading…
Reference in New Issue