blob: ac070f14466fd36f325470a55b7c86da88271387 [file] [log] [blame]
Samuel Shuert274a4d62023-12-01 15:04:55 -05001#!/bin/sh
2basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
3
4case `uname` in
5 *CYGWIN*) basedir=`cygpath -w "$basedir"`;;
6esac
7
8if [ -z "$NODE_PATH" ]; then
9 export NODE_PATH="/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/bin/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/typescript@5.3.2/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/node_modules"
10else
11 export NODE_PATH="/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/bin/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/typescript@5.3.2/node_modules/typescript/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/typescript@5.3.2/node_modules:/home/coded/Documents/programming/AoC/2023/node_modules/.pnpm/node_modules:$NODE_PATH"
12fi
13if [ -x "$basedir/node" ]; then
14 exec "$basedir/node" "$basedir/../typescript/bin/tsc" "$@"
15else
16 exec node "$basedir/../typescript/bin/tsc" "$@"
17fi