Add tools to Makefile
This commit is contained in:
parent
9b61e5d0ea
commit
62abe2caab
8
Makefile
8
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:
|
||||
|
Loading…
Reference in New Issue
Block a user