run-ts.sh: print build errors

This commit is contained in:
Peter Fajdiga
2024-04-20 18:40:45 +02:00
parent b897ab5b9f
commit 1596edc43f
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@@ -1,4 +1,5 @@
/package/contents/code/main.js
/package/contents/config/main.xml
/karousel*.tar.gz
run-ts-tmp.js
/.idea

View File

@@ -1,2 +1,3 @@
#!/bin/bash
tsc -p "$1" --outFile /dev/stdout | node -
tsc -p "$1" --outFile ./run-ts-tmp.js && node ./run-ts-tmp.js
rm ./run-ts-tmp.js