1#!/bin/sh 2# Copyright: 2015 Masatake YAMATO 3# License: GPL-2 4 5CTAGS=$1 6BUILDDIR=$2 7 8. ../utils.sh 9 10if ${CTAGS} --quiet --options=NONE --list-features | grep -q iconv; then 11 check_encoding utf-8 12 ${CTAGS} --quiet --options=NONE --output-encoding=utf-8 -o $BUILDDIR/tags input.js input.java 13 exit $? 14else 15 skip "iconv feature is not available" 16fi 17