We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 06193dc + 289709f commit 3e0e06fCopy full SHA for 3e0e06f
1 file changed
Makefile
@@ -169,8 +169,10 @@ $(MOCKGEN): ${TOOLS_DIR}/go.mod
169
cd $(TOOLS_DIR); $(GO) build -tags=tools -o $(BIN_DIR)/mockgen go.uber.org/mock/mockgen
170
171
172
-#.PHONY: generate
+.PHONY: generate
173
generate: $(MOCKGEN)
174
+ @echo "Cleaning stale mock files..."
175
+ git clean -fx -- '*_mock.go'
176
$(GO) generate ./...
177
178
# Compile all tests
0 commit comments