Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add aptitude as installed package, cmonly for building just one package with catkin_make #1138

Merged
merged 1 commit into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,8 @@ mil_user_install_dependencies() {
nmap \
fd-find \
ripgrep \
fzf
fzf \
aptitude
}

# Add line to user's bashrc which source the repo's setup files
Expand Down
9 changes: 9 additions & 0 deletions scripts/setup.bash
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,15 @@ startxbox() {
roslaunch navigator_launch shore.launch
}

# catkin_make for one specific package only
RED='\033[0;31m'
cmonly() {
cd ~/catkin_ws || exit
catkin_make --only-pkg-with-deps $1
cd - >/dev/null || exit
echo "${RED}!! Warning: Future calls to catkin_make will just build the '$1' package. To revert this, ensure you run 'cm' or 'cd ~/catkin_ws && catkin_make -DCATKIN_WHITELIST_PACKAGES=\"\"' when you want to recompile the entire repository."
}

alias xbox=startxbox

# PYTHONPATH modifications
Expand Down
Loading