Skip to content

Commit

Permalink
chore: add go.mod and go.sum to list of Go sources
Browse files Browse the repository at this point in the history
This enables workflows that use `go mod edit` commands to rely on the
Makefile correctly rebuilding the Go binaries.
  • Loading branch information
nathanielc committed Jan 16, 2019
1 parent 12c934b commit 073b034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export PATH := $(PWD)/bin/$(GOOS):$(PATH)


# All go source files
SOURCES := $(shell find . -name '*.go' -not -name '*_test.go')
SOURCES := $(shell find . -name '*.go' -not -name '*_test.go') go.mod go.sum

# All go source files excluding the vendored sources.
SOURCES_NO_VENDOR := $(shell find . -path ./vendor -prune -o -name "*.go" -not -name '*_test.go' -print)
Expand Down

0 comments on commit 073b034

Please sign in to comment.