mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 14:57:34 +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 <silvan.reusser@gmail.com>
This commit is contained in:
8
Makefile
8
Makefile
@@ -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/enumer@v1.5.9
|
||||
go install github.com/rakyll/statik@v0.1.7
|
||||
go install go.uber.org/mock/mockgen@v0.3.0
|
||||
go install golang.org/x/tools/cmd/stringer@v0.15.0
|
||||
go generate ./...
|
||||
|
||||
.PHONY: core_assets
|
||||
core_assets:
|
||||
mkdir -p docs/apis/assets
|
||||
|
Reference in New Issue
Block a user