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

13 lines
No EOL
249 B
Bash
Executable file

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