chore(tool): fallar en errores
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
Cat /dev/Nulo 2022-12-20 17:30:35 -03:00
parent 376b23b93e
commit 0e82470a86

6
tool
View file

@ -1,14 +1,14 @@
#!/bin/sh
build_ts() {
./node_modules/.bin/esbuild compilar.ts --target=node18 --outdir=build.js --sourcemap
./node_modules/.bin/esbuild compilar.ts --target=node18 --outdir=build.js --sourcemap || exit $?
}
build() {
build_ts
node --enable-source-maps build.js/compilar.js
node --enable-source-maps build.js/compilar.js || exit $?
}
check() {
./node_modules/.bin/tsc --noEmit
./node_modules/.bin/tsc --noEmit || exit $?
}
refresh_feed() {
echo "Refreshing $1"