2025-02-23 23:35:15 -05:00

18 lines
1.4 KiB
Bash

#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -z "$NODE_PATH" ]; then
export NODE_PATH="/home/aidan/Nextcloud/Documents/School/CMSC388T/checkpoint2-ahaas25/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/home/aidan/Nextcloud/Documents/School/CMSC388T/checkpoint2-ahaas25/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/home/aidan/Nextcloud/Documents/School/CMSC388T/checkpoint2-ahaas25/node_modules/.pnpm/typescript@5.6.3/node_modules:/home/aidan/Nextcloud/Documents/School/CMSC388T/checkpoint2-ahaas25/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/home/aidan/Nextcloud/Documents/School/CMSC388T/checkpoint2-ahaas25/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/bin/node_modules:/home/aidan/Nextcloud/Documents/School/CMSC388T/checkpoint2-ahaas25/node_modules/.pnpm/typescript@5.6.3/node_modules/typescript/node_modules:/home/aidan/Nextcloud/Documents/School/CMSC388T/checkpoint2-ahaas25/node_modules/.pnpm/typescript@5.6.3/node_modules:/home/aidan/Nextcloud/Documents/School/CMSC388T/checkpoint2-ahaas25/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
else
exec node "$basedir/../typescript/bin/tsc" "$@"
fi