fix: makefile
This commit is contained in:
@@ -23,11 +23,20 @@ test:
|
||||
lint:
|
||||
@golangci-lint run
|
||||
|
||||
.PHONY: init
|
||||
init:
|
||||
.PHONY: tools
|
||||
tools:
|
||||
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-grpc-gateway
|
||||
go install github.com/grpc-ecosystem/grpc-gateway/v2/protoc-gen-openapiv2
|
||||
go install google.golang.org/protobuf/cmd/protoc-gen-go
|
||||
go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
|
||||
go install github.com/bufbuild/buf/cmd/buf
|
||||
go install github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||
|
||||
.PHONY: init
|
||||
init:
|
||||
@atomctl swag init
|
||||
@atomctl gen route
|
||||
@atomctl gen enum
|
||||
@atomctl gen provider
|
||||
@buf generate
|
||||
@go mod tidy
|
||||
|
||||
Reference in New Issue
Block a user