Expand generated code, add routes list
This commit is contained in:
2
Makefile
2
Makefile
@ -1,6 +1,7 @@
|
||||
# Variables
|
||||
CLIENT_PKG := ./cmd/eia-client
|
||||
CLIENT_GEN_FILE := ./api/eiaapi.gen.go
|
||||
MAPPER_GEN_FILE := ./api/eiaapi_funcmap.gen.go
|
||||
GO_FORMATTER := gofumpt
|
||||
IS_GNU_SED := $(shell sed --version >/dev/null 2>&1 && echo true || echo false)
|
||||
|
||||
@ -23,6 +24,7 @@ else
|
||||
endif
|
||||
# Pretty it up
|
||||
$(GO_FORMATTER) -w $(CLIENT_GEN_FILE)
|
||||
$(GO_FORMATTER) -w $(MAPPER_GEN_FILE)
|
||||
|
||||
# Build the client command binary
|
||||
build: generate
|
||||
|
Reference in New Issue
Block a user