Skip to content

feat(scripts): add dependency checks to build.sh and setup_repos.sh#136

Merged
otenim merged 1 commit intodevelop/r36.4.0from
feat/add-dependency-checks-to-scripts
Mar 30, 2026
Merged

feat(scripts): add dependency checks to build.sh and setup_repos.sh#136
otenim merged 1 commit intodevelop/r36.4.0from
feat/add-dependency-checks-to-scripts

Conversation

@otenim
Copy link
Copy Markdown
Collaborator

@otenim otenim commented Mar 30, 2026

Summary

  • Add dependency checks to setup_repos.sh for git and vcs commands
  • Add dependency check to build.sh for colcon command
  • Add set -euo pipefail to build.sh for consistent error handling

When required commands are missing, scripts now display clear error messages with installation instructions before exiting.

Test plan

  • Run build.sh without colcon installed and verify error message
  • Run setup_repos.sh without vcs installed and verify error message
  • Run both scripts with all dependencies installed and verify normal execution

Show clear error messages with installation instructions when required
commands (git, vcs, colcon) are not installed. Also add set -euo pipefail
to build.sh for consistent error handling.
@otenim otenim merged commit 054f7f0 into develop/r36.4.0 Mar 30, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant