Merge pull request #9192 from adamreese/fix/rebuild-on-gomod-change

fix(Makefile): rebuild the binary if go.mod has changed
pull/9208/head
Adam Reese 4 years ago committed by GitHub
commit 6760dda91f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,9 @@ TESTS := .
TESTFLAGS :=
LDFLAGS := -w -s
GOFLAGS :=
SRC := $(shell find . -type f -name '*.go' -print)
# Rebuild the buinary if any of these files change
SRC := $(shell find . -type f -name '*.go' -print) go.mod go.sum
# Required for globs to work correctly
SHELL = /usr/bin/env bash

Loading…
Cancel
Save