Skip to content

Commit

Permalink
Also rebuild go packages if go.mod changes (#1609)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwynne authored Jun 11, 2021
1 parent 9570ee7 commit eb206b2
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .templates/go/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endif

dist: $(EXES)

dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES)
dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES) go.mod
mkdir -p dist
echo "EXES=$(EXES)"
echo "Building $@"
Expand Down
2 changes: 1 addition & 1 deletion cucumber-expressions/go/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endif

dist: $(EXES)

dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES)
dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES) go.mod
mkdir -p dist
echo "EXES=$(EXES)"
echo "Building $@"
Expand Down
2 changes: 1 addition & 1 deletion demo-formatter/go/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endif

dist: $(EXES)

dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES)
dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES) go.mod
mkdir -p dist
echo "EXES=$(EXES)"
echo "Building $@"
Expand Down
2 changes: 1 addition & 1 deletion gherkin/go/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endif

dist: $(EXES)

dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES)
dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES) go.mod
mkdir -p dist
echo "EXES=$(EXES)"
echo "Building $@"
Expand Down
2 changes: 1 addition & 1 deletion json-formatter/go/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endif

dist: $(EXES)

dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES)
dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES) go.mod
mkdir -p dist
echo "EXES=$(EXES)"
echo "Building $@"
Expand Down
2 changes: 1 addition & 1 deletion messages/go/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endif

dist: $(EXES)

dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES)
dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES) go.mod
mkdir -p dist
echo "EXES=$(EXES)"
echo "Building $@"
Expand Down
2 changes: 1 addition & 1 deletion tag-expressions/go/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ endif

dist: $(EXES)

dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES)
dist/$(EXE_BASE_NAME)-%: .deps $(GO_SOURCE_FILES) go.mod
mkdir -p dist
echo "EXES=$(EXES)"
echo "Building $@"
Expand Down

0 comments on commit eb206b2

Please sign in to comment.