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.

27 lines
798 B

2 years ago
all:
2 years ago
make auth
2 years ago
make kit
2 years ago
make gin-kit
1 year ago
make mysql-kit
2 years ago
make ts
2 years ago
make gen
1 year ago
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
1 year ago
mysql-kit:
go build -o ~/go/bin/mysql-kit cmd/mysql-kit/main.go
1 year ago
ts:
go build -o ~/go/bin/protoc-gen-ts cmd/ts/main.go
2 years ago
testts:
2 years ago
make ts
gen:
1 year ago
#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
1 year ago
protoc -I ./third_party -I ./proto --ts_out=prefix=/api/v1/sendmail:./api --go_out=./api --go-grpc_out=./api --kit_out=./api --validate_out="lang=go:./api" ./proto/*.proto
2 years ago
auth:
1 year ago
protoc --go_out=. ./third_party/auth/auth.proto
1 year ago
git:
1 year ago
git add .
git commit -m "auto commit"
git push