mirror of
https://github.com/casjaysdevdocker/bun
synced 2025-01-18 00:34:24 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
15e2c2b946
commit
0eb12dfbfe
@ -154,8 +154,8 @@ bun)
|
||||
|
||||
*) # Execute primary command
|
||||
if [ $# -eq 0 ]; then
|
||||
if [ -n "$RUN_SCRIPT" ]; then
|
||||
START_SCRIPT="$RUN_SCRIPT"
|
||||
if [ -n "$START_SCRIPT" ]; then
|
||||
RUN_SCRIPT="$START_SCRIPT"
|
||||
elif [ -f "src/index.ts" ]; then
|
||||
RUN_SCRIPT="index.ts"
|
||||
elif [ -f "index.ts" ]; then
|
||||
@ -168,7 +168,7 @@ bun)
|
||||
echo "Running bun install"
|
||||
bun install
|
||||
echo "Running bun dev ${RUN_SCRIPT:-$START_SCRIPT}"
|
||||
bun dev ${RUN_SCRIPT:-$START_SCRIPT} || echo "Failed to run bun dev ${RUN_SCRIPT:-$START_SCRIPT}"
|
||||
bun dev ${RUN_SCRIPT:-$START_SCRIPT} || { echo "Failed to run bun dev ${RUN_SCRIPT:-$START_SCRIPT}" && return 1; }
|
||||
exit ${exitCode:-$?}
|
||||
else
|
||||
__exec_command "$@"
|
||||
|
Loading…
x
Reference in New Issue
Block a user