feat: launch as neuron — bin entry + CLI script name

This commit is contained in:
2026-08-21 13:59:45 -05:00
parent 4972fcc4bb
commit 58e0050a81
7 changed files with 17 additions and 5 deletions
+12
View File
@@ -0,0 +1,12 @@
#!/bin/sh
# Neuron launcher: run the CLI from source under Bun.
SELF="$0"
while [ -L "$SELF" ]; do
LINK="$(readlink "$SELF")"
case "$LINK" in
/*) SELF="$LINK" ;;
*) SELF="$(dirname "$SELF")/$LINK" ;;
esac
done
DIR="$(cd "$(dirname "$SELF")" && pwd)"
exec bun run --conditions=browser "$DIR/../src/index.ts" "$@"