Skip to content

Commit 5d42a9b

Browse files
Tobias Hafnervogti
authored andcommitted
Restore original folder structure for proto files
1 parent 369c73c commit 5d42a9b

20 files changed

+37
-36
lines changed

doc-generator/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
# ----------------------------------------------------------------------------------
5050

5151
# The directory containing the proto files
52-
PROTO_DIR = '../prism'
52+
PROTO_DIR = '../org/polypheny/prism'
5353

5454
# ----------------------------------------------------------------------------------
5555
# PROTO COMPILER

doc-generator/proto_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def compile_file(proto_file, proto_path=config.IMPORT_BASE_DIR, descriptor_set_o
1616
'protoc',
1717
f'--proto_path={proto_path}',
1818
f'--descriptor_set_out={descriptor_set_out}',
19+
f'--experimental_allow_proto3_optional',
1920
'--include_source_info',
2021
proto_file
2122
]

meson.build

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,30 +17,30 @@ run_command('mkdir', '-p', gen_dir)
1717
prism_gen = generator(protoc,
1818
1919
arguments : [
20-
'--proto_path=@CURRENT_SOURCE_DIR@/prism',
20+
'--proto_path=@CURRENT_SOURCE_DIR@',
2121
'--cpp_out=@BUILD_DIR@',
2222
'--experimental_allow_proto3_optional',
2323
'@INPUT@'
2424
]
2525
)
2626

2727
prism_files = files(
28-
'prism/connection_requests.proto',
29-
'prism/connection_responses.proto',
30-
'prism/document_frame.proto',
31-
'prism/error.proto',
32-
'prism/graph_frame.proto',
33-
'prism/meta_requests.proto',
34-
'prism/meta_responses.proto',
35-
'prism/namespace_meta_requests.proto',
36-
'prism/namespace_meta_responses.proto',
37-
'prism/protointerface.proto',
38-
'prism/relational_frame.proto',
39-
'prism/statement_requests.proto',
40-
'prism/statement_responses.proto',
41-
'prism/transaction_requests.proto',
42-
'prism/transaction_responses.proto',
43-
'prism/value.proto'
28+
'org/polypheny/prism/connection_requests.proto',
29+
'org/polypheny/prism/connection_responses.proto',
30+
'org/polypheny/prism/document_frame.proto',
31+
'org/polypheny/prism/error.proto',
32+
'org/polypheny/prism/graph_frame.proto',
33+
'org/polypheny/prism/meta_requests.proto',
34+
'org/polypheny/prism/meta_responses.proto',
35+
'org/polypheny/prism/namespace_meta_requests.proto',
36+
'org/polypheny/prism/namespace_meta_responses.proto',
37+
'org/polypheny/prism/protointerface.proto',
38+
'org/polypheny/prism/relational_frame.proto',
39+
'org/polypheny/prism/statement_requests.proto',
40+
'org/polypheny/prism/statement_responses.proto',
41+
'org/polypheny/prism/transaction_requests.proto',
42+
'org/polypheny/prism/transaction_responses.proto',
43+
'org/polypheny/prism/value.proto'
4444
)
4545

4646
# ========================
File renamed without changes.
File renamed without changes.

prism/document_frame.proto renamed to org/polypheny/prism/document_frame.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Messages pertaining to document frames as used to represent results from the doc
44

55
syntax = "proto3";
66

7-
import "value.proto";
7+
import "org/polypheny/prism/value.proto";
88

99
option java_multiple_files = true;
1010
option java_package = "org.polypheny.prism";
File renamed without changes.

prism/graph_frame.proto renamed to org/polypheny/prism/graph_frame.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Messages related to graph frames as used to represent results form the labeled p
33
*/
44

55
syntax = "proto3";
6-
import "value.proto";
6+
import "org/polypheny/prism/value.proto";
77

88
option java_multiple_files = true;
99
option java_package = "org.polypheny.prism";
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)