diff --git a/Makefile b/Makefile index c8d31d7..a782191 100644 --- a/Makefile +++ b/Makefile @@ -10,10 +10,14 @@ GO_FORMATTER := gofumpt IS_GNU_SED := $(shell sed --version >/dev/null 2>&1 && echo true || echo false) SED_INLINE := $(if $(filter true,$(IS_GNU_SED)),-i,-i '') -.PHONY: all schema generate test build install clean +.PHONY: all tools schema generate test build install clean # Default target -all: schema generate test build install +all: tools schema generate test build install + +tools: + go install golang.org/x/tools/cmd/stringer + go install github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen # Retrieve and prepare schema schema: