view ctag_script.sh @ 270:358dd5950985

sync production config on every deploy Always install the ignored repository .config into /etc/mrjunejune before promoting the new bundle. Co-authored-by: Copilot <[email protected]>
author MrJuneJune <me@mrjunejune.com>
date Fri, 07 Aug 2026 13:16:47 -0700
parents 1f9877b637e9
children
line wrap: on
line source

#!/bin/bash
set -euo pipefail

hg files \
  | awk '/\.[ch]$/' \
  | ctags \
      --languages=C \
      --langmap=C:.h \
      --extras=+r \
      --c-kinds=+p \
      --pseudo-tags=-TAG_PROC_CWD \
      -L -