macOS ◆ xterm-256color ◆ zsh 2149 views

#!/usr/bin/env bash

set -e

rm -rf /tmp/example
cd /tmp
mix new example
cd example
awk "/:dep_from_git/{print;print \"$(printf '%q' $@)\";next}1" mix.exs >mix.exs.new
mv mix.exs.new mix.exs
mix deps.get
iex -S mix