testtest/node_modules/.bin/ts-node-transpile-only

16 lines
329 B
Plaintext
Raw Normal View History

2024-02-27 00:32:49 +00:00
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node" ]; then
"$basedir/node" "$basedir/../ts-node/dist/bin-transpile.js" "$@"
ret=$?
else
node "$basedir/../ts-node/dist/bin-transpile.js" "$@"
ret=$?
fi
exit $ret