File tree 1 file changed +7
-7
lines changed
1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -27,18 +27,18 @@ def convert_to_proto_path(paths):
27
27
return proto_paths
28
28
29
29
30
- def convert_to_all_proto (paths ):
31
- all_protos = []
32
- for path in paths :
33
- all_protos .append (f"{ path } /*.proto" )
34
- return all_protos
30
+ # def convert_to_all_proto(paths):
31
+ # all_protos = []
32
+ # for path in paths:
33
+ # all_protos.append(f"{path}/*.proto")
34
+ # return all_protos
35
35
36
36
37
37
proto_relative_folders = find_proto_folders ()
38
38
for_command = convert_to_proto_path (proto_relative_folders )
39
- for_command2 = convert_to_all_proto (proto_relative_folders )
39
+ # for_command2 = convert_to_all_proto(proto_relative_folders)
40
40
41
- command = ["protoc" ] + for_command + [f"--python_out={ PYTHON_OUTPUT_PATH } " ] + for_command2
41
+ command = ["protoc" ] + for_command + [f"--python_out={ PYTHON_OUTPUT_PATH } " ] + [ "$(find xray_api -name '*.proto')" ]
42
42
43
43
try :
44
44
subprocess .check_output (command )
You can’t perform that action at this time.
0 commit comments