From eb206b207fe8b2723d7315e41f2e75e756ad8122 Mon Sep 17 00:00:00 2001 From: Matt Wynne Date: Fri, 11 Jun 2021 16:20:32 -0700 Subject: [PATCH] Also rebuild go packages if go.mod changes (#1609) --- .templates/go/default.mk | 2 +- cucumber-expressions/go/default.mk | 2 +- demo-formatter/go/default.mk | 2 +- gherkin/go/default.mk | 2 +- json-formatter/go/default.mk | 2 +- messages/go/default.mk | 2 +- tag-expressions/go/default.mk | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.templates/go/default.mk b/.templates/go/default.mk index ca7db1472e..4a47f400ee 100644 --- a/.templates/go/default.mk +++ b/.templates/go/default.mk @@ -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 $@" diff --git a/cucumber-expressions/go/default.mk b/cucumber-expressions/go/default.mk index ca7db1472e..4a47f400ee 100644 --- a/cucumber-expressions/go/default.mk +++ b/cucumber-expressions/go/default.mk @@ -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 $@" diff --git a/demo-formatter/go/default.mk b/demo-formatter/go/default.mk index ca7db1472e..4a47f400ee 100644 --- a/demo-formatter/go/default.mk +++ b/demo-formatter/go/default.mk @@ -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 $@" diff --git a/gherkin/go/default.mk b/gherkin/go/default.mk index ca7db1472e..4a47f400ee 100644 --- a/gherkin/go/default.mk +++ b/gherkin/go/default.mk @@ -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 $@" diff --git a/json-formatter/go/default.mk b/json-formatter/go/default.mk index ca7db1472e..4a47f400ee 100644 --- a/json-formatter/go/default.mk +++ b/json-formatter/go/default.mk @@ -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 $@" diff --git a/messages/go/default.mk b/messages/go/default.mk index ca7db1472e..4a47f400ee 100644 --- a/messages/go/default.mk +++ b/messages/go/default.mk @@ -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 $@" diff --git a/tag-expressions/go/default.mk b/tag-expressions/go/default.mk index ca7db1472e..4a47f400ee 100644 --- a/tag-expressions/go/default.mk +++ b/tag-expressions/go/default.mk @@ -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 $@"