TeaWeb/tools/build_dtsgen.sh
2018-12-26 14:17:12 +01:00

13 lines
No EOL
250 B
Bash
Executable file

#!/usr/bin/env bash
BASEDIR=$(dirname "$0")
source "${BASEDIR}/../scripts/resolve_commands.sh"
cd "$BASEDIR/dtsgen"
execute_tsc -p tsconfig.json
if [ $? -ne 0 ]; then
echo "Failed to build typescript declaration generator"
exit 1
fi
exit 0