Have the Makefile rebuild when go.mod/sum changes

nostruct
Stein Ivar Berghei 2022-11-23 08:39:41 +01:00
parent f160c3855e
commit 3a0c09c7e0
1 changed files with 1 additions and 1 deletions

View File

@ -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)