🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2022-10-12 22:46:58 -04:00
parent 15e2c2b946
commit 0eb12dfbfe
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -154,8 +154,8 @@ bun)
*) # Execute primary command *) # Execute primary command
if [ $# -eq 0 ]; then if [ $# -eq 0 ]; then
if [ -n "$RUN_SCRIPT" ]; then if [ -n "$START_SCRIPT" ]; then
START_SCRIPT="$RUN_SCRIPT" RUN_SCRIPT="$START_SCRIPT"
elif [ -f "src/index.ts" ]; then elif [ -f "src/index.ts" ]; then
RUN_SCRIPT="index.ts" RUN_SCRIPT="index.ts"
elif [ -f "index.ts" ]; then elif [ -f "index.ts" ]; then
@ -168,7 +168,7 @@ bun)
echo "Running bun install" echo "Running bun install"
bun install bun install
echo "Running bun dev ${RUN_SCRIPT:-$START_SCRIPT}" 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:-$?} exit ${exitCode:-$?}
else else
__exec_command "$@" __exec_command "$@"