File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import subprocess
44import importlib .util
55import sys
6+ import os
67
78
89def run (cmd : list [str ]) -> None :
@@ -27,6 +28,8 @@ def import_and_run_build():
2728
2829
2930def main ():
31+ repo_root = Path (__file__ ).parent .resolve ()
32+ os .chdir (repo_root )
3033 # 1) Run build_debug.main()
3134 import_and_run_build ()
3235
Original file line number Diff line number Diff line change 33import subprocess
44import importlib .util
55import sys
6+ import os
67
78
89def run (cmd : list [str ]) -> None :
@@ -27,6 +28,8 @@ def import_and_run_build():
2728
2829
2930def main ():
31+ repo_root = Path (__file__ ).parent .resolve ()
32+ os .chdir (repo_root )
3033 # 1) Run build_release.main()
3134 import_and_run_build ()
3235
Original file line number Diff line number Diff line change 22import subprocess
33from pathlib import Path
44import sys
5+ import os
56
67
78def run (cmd : list [str ]) -> None :
@@ -10,6 +11,8 @@ def run(cmd: list[str]) -> None:
1011
1112
1213def main () -> None :
14+ repo_root = Path (__file__ ).parent .resolve ()
15+ os .chdir (repo_root )
1316 project_dir = Path .cwd ()
1417 build_dir = project_dir / "build" / "Debug_Script"
1518
Original file line number Diff line number Diff line change 22import subprocess
33from pathlib import Path
44import sys
5+ import os
56
67
78def run (cmd : list [str ]) -> None :
@@ -10,6 +11,8 @@ def run(cmd: list[str]) -> None:
1011
1112
1213def main () -> None :
14+ repo_root = Path (__file__ ).parent .resolve ()
15+ os .chdir (repo_root )
1316 project_dir = Path .cwd ()
1417 build_dir = project_dir / "build" / "Release_Script"
1518
You can’t perform that action at this time.
0 commit comments