TeaWeb/tools/build_dtsgen.sh
2019-03-19 21:15:15 +01:00

13 lines
No EOL
252 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