Skip to content

Commit 05b3830

Browse files
committed
Fix proto generator
1 parent 0ef1cbd commit 05b3830

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/gen_protos.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
from typing import List, Mapping, Optional
1010

1111
base_dir = Path(__file__).parent.parent
12-
proto_dir = base_dir / "temporalio" / "bridge" / "sdk-core" / "protos"
12+
proto_dir = (
13+
base_dir / "temporalio" / "bridge" / "sdk-core" / "sdk-core-protos" / "protos"
14+
)
1315
api_proto_dir = proto_dir / "api_upstream"
1416
core_proto_dir = proto_dir / "local"
1517
testsrv_proto_dir = proto_dir / "testsrv_upstream"
@@ -177,7 +179,6 @@ def fix_generated_output(base_path: Path):
177179
shutil.rmtree(api_out_dir / p.name, ignore_errors=True)
178180
p.replace(api_out_dir / p.name)
179181
shutil.rmtree(api_out_dir / "dependencies", ignore_errors=True)
180-
(temp_dir / "dependencies").replace(api_out_dir / "dependencies")
181182
for p in (temp_dir / "temporal" / "sdk" / "core").iterdir():
182183
shutil.rmtree(sdk_out_dir / p.name, ignore_errors=True)
183184
p.replace(sdk_out_dir / p.name)

0 commit comments

Comments
 (0)