Files
commafeed-podcasts/bs/lint
T
2026-05-20 15:52:39 +02:00

27 lines
508 B
Bash
Executable File

#!/usr/bin/env bash
set -eo pipefail # this can be harmful, see https://www.youtube.com/watch?v=4Jo3Ml53kvc
. bs/.common || {
echo 'Please run this script from the project root directory' >&2;
exit 1;
}
# depends on
declare -r tsc='node_modules/.bin/tsc'
declare -r tscAlias='node_modules/.bin/tsc-alias'
help(){
if ! isHelp "${@}"; then return 0; fi
echoReadmeInfo
echo
$tsc --help
$tscAlias --help
exit 0
}
main(){
help "${@}"
$tsc "${@}"
echo "$tscAlias ${@}"
$tscAlias "${@}"
}
main "${@}"