Skip to content

Commit

Permalink
Add aptitude as installed package, cmonly for building just one packa…
Browse files Browse the repository at this point in the history
…ge at a time with catkin_make
cbrxyz committed Feb 25, 2024
1 parent 4474cf7 commit ede30bd
Showing 2 changed files with 11 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
@@ -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
9 changes: 9 additions & 0 deletions scripts/setup.bash
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit ede30bd

Please sign in to comment.