Files
Claper/dev.sh
2024-12-28 17:54:13 -05:00

15 lines
164 B
Bash
Executable File

set -a
source .env
set +a
args=("$@")
if [ "${args[0]}" == "start" ]; then
mix phx.server
elif [ "${args[0]}" == "iex" ]; then
iex -S mix
else
mix "$@"
fi