scroll/bin/tsx.sh

7 lines
221 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -euo pipefail
PARENT_DIR="$(dirname "$(realpath "$0")")"
TSX="$(realpath "${PARENT_DIR}/../node_modules/.bin/tsx")"
SCROLL="$(realpath "${PARENT_DIR}/../src/scroll.ts")"
"${TSX}" "${SCROLL}" "$@";