Skip to content

Commit

Permalink
Deprecate makecol and makeros
Browse files Browse the repository at this point in the history
  • Loading branch information
fmauch committed Jul 29, 2024
1 parent 475048b commit 5e872da
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions bin/rob_folders_source.sh
Original file line number Diff line number Diff line change
Expand Up @@ -74,19 +74,30 @@ fi


# define some legacy aliases from old robot_folders
RED='\033[0;31m'
NC='\033[0m' # No Color
alias ce="fzirob change_environment"
alias cdr="fzirob cd"
alias cdros="fzirob cd ros"
alias cdcol="fzirob cd colcon"
alias cdmisc="fzirob cd misc"
alias cdhome="fzirob cd"
alias makeros="fzirob make ros"
alias makecol="fzirob make colcon"
alias fm="fzirob make"
alias fmc="fzirob make colcon"
alias fmr="fzirob make ros"
alias fmcp="fzirob make colcon --colcon-args --packages-select"

makeros()
{
echo -e "${RED}\`makeros\` is deprecated. Please use \`fmr\` instead.${NC}"
fzirob make ros
}
makecol()
{
echo -e "${RED}\`makecol\` is deprecated. Please use \`fmc\` instead.${NC}"
fzirob make colcon
}

add_fzi_project()
{
echo "DEPRECATED! DEPRECATED! DEPRECATED! DEPRECATED!"
Expand Down

0 comments on commit 5e872da

Please sign in to comment.