|
|
@@ -27,6 +27,8 @@ def main():
|
|
|
if args.golang:
|
|
|
print('building ', file, ' golang ...')
|
|
|
os.system('protoc -I. --go_opt=paths=source_relative --go_out=. {}'.format(os.path.join(cur,file)))
|
|
|
+ if file[:3] == 'rpc':
|
|
|
+ os.system('protoc -I. --go-grpc_opt=paths=source_relative --go-grpc_out=. {}'.format(os.path.join(cur, file)))
|
|
|
if args.python:
|
|
|
print('building ', file, ' python ...')
|
|
|
os.system('protoc -I. --python_out=. {}'.format(os.path.join(cur, file)))
|