From b9c7f14a23f9d901719d707070b3153aed9dbbcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D0=B8=D0=BB=20=D0=93=D1=80=D0=B0?= =?UTF-8?q?=D0=B1=D0=B0=D1=80=D1=8C?= Date: Fri, 22 May 2026 19:21:14 +0300 Subject: [PATCH] fix: update colcon build command to include base paths for improved build process --- cobot/commands/local_setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cobot/commands/local_setup.py b/cobot/commands/local_setup.py index 68e837a..ac83f2d 100644 --- a/cobot/commands/local_setup.py +++ b/cobot/commands/local_setup.py @@ -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,