Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

Fix error on multiple make generate runs (#1087)

Jan Ernsting16605eafd000
diff --git a/Makefile b/Makefile
index 9dc8c983..bcacf3e4 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,8 @@ universal: generate
generate:
@$(GO) get github.com/google/wire/cmd/[email protected]
@$(GO) get github.com/golang/mock/[email protected]
+ @$(GO) get github.com/swaggo/swag/cmd/[email protected]
+ @$(GO) install github.com/swaggo/swag/cmd/[email protected]
@$(GO) install github.com/google/wire/cmd/[email protected]
@$(GO) install github.com/golang/mock/[email protected]
@$(GO) generate ./...