Sha256: 7727d4419b10d184b0a299a7a550056a8d23a9fb30b5e8e30b1d31dbddf2975e

Contents?: true

Size: 992 Bytes

Versions: 2

Compression:

Stored size: 992 Bytes

Contents

# Copyright: 2015 Masatake YAMATO
# License: GPL-2

CTAGS=$1

title()
{
    echo
    echo '#'
    echo '#' $1
    echo '#'
}

ignore_xml()
{
    grep -v 'Glade\|Ant\|Maven2\|XSLT'
}

ignore_yaml()
{
    grep -v 'Yaml'
}

# When introducing newly rewritten parser, we would like to provide
# the both new parser and old parser for debugging and providing
# migration period to users. In such case the prefix "Old" will be
# used to the name of old parser. The old parser should be ignored
# in this test case.
ignore_old()
{
    grep -v '^Old'
}

title ''
${CTAGS} --quiet --options=NONE --_list-roles= | ignore_xml | ignore_old | ignore_yaml

title 'all.*'
${CTAGS} --quiet --options=NONE --_list-roles='all.*' | ignore_xml | ignore_old | ignore_yaml

title 'C.*'
${CTAGS} --quiet --options=NONE --_list-roles='C.*'

title 'all.h'
${CTAGS} --quiet --options=NONE --_list-roles='all.h' | ignore_xml | ignore_old | ignore_yaml

title 'Sh.s'
${CTAGS} --quiet --options=NONE --_list-roles='Sh.s'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ctags.rb-1.1.4 ext/vendor/ctags/Tmain/list-roles.d/run.sh
ctags.rb-1.1.3 ext/vendor/ctags/Tmain/list-roles.d/run.sh