18 lines
532 B
Plaintext
18 lines
532 B
Plaintext
|
#!/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/lilian/Dev/project/fastapi_gen/frontend/node_modules/.pnpm/node_modules"
|
||
|
else
|
||
|
export NODE_PATH="$NODE_PATH:/home/lilian/Dev/project/fastapi_gen/frontend/node_modules/.pnpm/node_modules"
|
||
|
fi
|
||
|
if [ -x "$basedir/node" ]; then
|
||
|
exec "$basedir/node" "$basedir/../vitest/vitest.mjs" "$@"
|
||
|
else
|
||
|
exec node "$basedir/../vitest/vitest.mjs" "$@"
|
||
|
fi
|