fix: update colcon build command to include base paths for improved build process

This commit is contained in:
Даниил Грабарь
2026-05-22 19:21:14 +03:00
parent 0dda077e7f
commit b9c7f14a23
+2 -2
View File
@@ -234,7 +234,7 @@ def _task_build(screen: LogScreen) -> None:
screen.set_progress(30, "Building...")
list_result = subprocess.run(
["colcon", "list"], capture_output=True, text=True,
["colcon", "list", "--base-paths", "src"], capture_output=True, text=True,
cwd=_PROJECT_DIR, env=env,
)
total = max(len([l for l in list_result.stdout.splitlines() if l.strip()]), 1)
@@ -255,7 +255,7 @@ def _task_build(screen: LogScreen) -> None:
)
_run_logged(
["colcon", "build"],
["colcon", "build", "--base-paths", "src", "--symlink-install"],
_track,
env=env,
cwd=_PROJECT_DIR,