You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
all:
|
|
|
|
make auth
|
|
|
|
make kit
|
|
|
|
make gin-kit
|
|
|
|
make ts
|
|
|
|
make gen
|
|
|
|
kit:
|
|
|
|
go build -o ~/go/bin/protoc-gen-kit cmd/kit/main.go
|
|
|
|
gin-kit:
|
|
|
|
go build -o ~/go/bin/protoc-gen-gin-kit cmd/gin-kit/main.go
|
|
|
|
ts:
|
|
|
|
go build -o ~/go/bin/protoc-gen-ts cmd/ts/main.go
|
|
|
|
|
|
|
|
testts:
|
|
|
|
make ts
|
|
|
|
gen:
|
|
|
|
#protoc -I ./third_party -I ./proto --ts_out=./api --go_out=./api --go-grpc_out=./api --kit_out=./api --gin-kit_out=./api --validate_out="lang=go:./api" ./proto/*.proto
|
|
|
|
protoc -I ./third_party -I ./proto --ts_out=./api --go_out=./api --go-grpc_out=./api --kit_out=./api --validate_out="lang=go:./api" ./proto/*.proto
|
|
|
|
auth:
|
|
|
|
protoc --go_out=. ./third_party/auth/auth.proto
|