14 lines
357 B
Bash
Executable file
14 lines
357 B
Bash
Executable file
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
|
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
cd "${SCRIPT_DIR}"
|
|
|
|
# Bootstrap: install works before node_modules exists
|
|
if [[ "${1:-}" == "install" || "${1:-}" == "i" ]]; then
|
|
pnpm install
|
|
exit $?
|
|
fi
|
|
|
|
# Delegate to TypeScript runner via @lilith/workspace-runner
|
|
exec pnpm exec tsx tooling/run.ts "$@"
|