mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-30 16:08:56 +00:00
chore(Makefile): add go generate target (#6944)
This change adds a core_generate_all make target. It installs the required tools and runs generate on the complete project. `golang/mock` is no longer maintained and a fork is available from the Uber folks. So the latter is used as tool. All the mock files have been regenerated and are part of the PR. The obsolete `tools` directory has been removed, as all the tools are now part of specific make targets. Co-authored-by: Silvan <[email protected]>
This commit is contained in:
@@ -26,6 +26,14 @@ core_static:
|
||||
go generate internal/notification/statik/generate.go
|
||||
go generate internal/statik/generate.go
|
||||
|
||||
.PHONY: core_generate_all
|
||||
core_generate_all:
|
||||
go install github.com/dmarkham/[email protected]
|
||||
go install github.com/rakyll/[email protected]
|
||||
go install go.uber.org/mock/[email protected]
|
||||
go install golang.org/x/tools/cmd/[email protected]
|
||||
go generate ./...
|
||||
|
||||
.PHONY: core_assets
|
||||
core_assets:
|
||||
mkdir -p docs/apis/assets
|
||||
|
||||
Reference in New Issue
Block a user