mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
Merge pull request #9192 from adamreese/fix/rebuild-on-gomod-change
fix(Makefile): rebuild the binary if go.mod has changed
This commit is contained in:
commit
6760dda91f
1 changed files with 3 additions and 1 deletions
4
Makefile
4
Makefile
|
|
@ -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…
Reference in a new issue