20 lines
383 B
Plaintext
20 lines
383 B
Plaintext
; pin protoc version
|
|
[protoc]
|
|
version=v3.19.1
|
|
|
|
; go
|
|
[generate go]
|
|
json_tag_postproc=true
|
|
[generate go-grpc]
|
|
[generate grpc-gateway]
|
|
|
|
; swagger/openapiv2
|
|
[generate openapiv2]
|
|
out=./gen/json/{{ .Package }}
|
|
|
|
[generate grpc-gateway-ts] ; typescript
|
|
out=../../web_src/lib/pb
|
|
ts_import_roots=../../web_src/lib/pb
|
|
fetch_module_directory=../../web_src/lib/pb
|
|
ts_import_root_aliases=.
|