|
@@ -26,7 +26,7 @@ def main():
|
|
|
|
|
|
|
|
if args.golang:
|
|
if args.golang:
|
|
|
print('building ', file, ' golang ...')
|
|
print('building ', file, ' golang ...')
|
|
|
- os.system('protoc -I. --go_out=. {}'.format(os.path.join(cur,file)))
|
|
|
|
|
|
|
+ os.system('protoc -I. --go_opt=paths=source_relative --go_out=. {}'.format(os.path.join(cur,file)))
|
|
|
if args.python:
|
|
if args.python:
|
|
|
print('building ', file, ' python ...')
|
|
print('building ', file, ' python ...')
|
|
|
os.system('protoc -I. --python_out=. {}'.format(os.path.join(cur, file)))
|
|
os.system('protoc -I. --python_out=. {}'.format(os.path.join(cur, file)))
|