xref: /Universal-ctags/Tmain/no-input-encoding-option.d/run.sh (revision f7bdb88541374fdf1421365df6cfad8b7e5b07cf)
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