📺 finlizes routing and improves bs

This commit is contained in:
2026-05-22 15:56:44 +02:00
parent c3782509e8
commit 8bb12aaac1
25 changed files with 277 additions and 88 deletions
+4 -4
View File
@@ -5,8 +5,8 @@ set -eo pipefail # this can be harmful, see https://www.youtube.com/watch?v=4Jo3
exit 1;
}
# depends on
declare -r lint='bs/lint'
declare -r wtr='node_modules/.bin/wtr'
declare -r tsc='bs/dev/tsc'
declare -r wtr='node_modules/.bin/web-test-runner'
help(){
if ! isHelp "${@}"; then return 0; fi
@@ -20,12 +20,12 @@ EOF
main(){
help "$1"
if [[ "$1" != "--watch" ]]; then
$lint
$tsc
$wtr "$@" --coverage
exit
fi
$lint --watch --preserveWatchOutput &
$tsc --watch --preserveWatchOutput &
$wtr "${*}" &
wait
}