Files
Claper/dev.sh

13 lines
114 B
Bash
Raw Normal View History

2024-07-11 12:41:05 +02:00
set -a
source .env
set +a
2024-06-08 17:11:40 +02:00
args=("$@")
2024-07-11 12:41:05 +02:00
if [ "${args[0]}" == "start" ]; then
2024-06-08 17:11:40 +02:00
mix phx.server
2024-07-11 12:41:05 +02:00
else
mix "$@"
2024-06-08 17:11:40 +02:00
fi