Skip to content

Commit

Permalink
gen_cc_tags
Browse files Browse the repository at this point in the history
  • Loading branch information
junjiemars committed Feb 10, 2024
1 parent 2bae9b7 commit cb667df
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -422,11 +422,18 @@ src_cc_inc_exrc () {
echo "\$cc_e" >> "\$EXRC"
}
gen_cc_tags () {
[ -f "\${CC_INC_LST}" ] || return 1
command -v ctags &>/dev/null || return 1
ctags -a -oTAGS --langmap=c:.h.c --c-kinds=+px -R -L "\${CC_INC_LST}"
}
if test -n "\${CC_ENV_GEN}"; then
$(if on_windows_nt; then
echo " gen_cc_env_bat && gen_cc_inc_lst && src_cc_inc_exrc"
else
echo " gen_cc_inc_lst && src_cc_inc_exrc"
echo " gen_cc_tags"
fi)
fi
Expand Down

0 comments on commit cb667df

Please sign in to comment.