Skip to content

Commit

Permalink
Updates to adify to source asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
thebugcatcher committed Jan 19, 2018
1 parent 27c71af commit 5b311cf
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions adify.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,21 +178,24 @@ Installing Asdf $asdf_version for Elixir and Erlang...
;;
esac

. $HOME/.asdf/asdf.sh
. $HOME/.asdf/completions/asdf.bash

echo """
==========================================================
Installing ERLANG $otp_version to run Adifier app....
==========================================================
"""
~/.asdf/asdf.sh plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git
~/.asdf/asdf.sh install erlang ${otp_version}
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git
asdf install erlang ${otp_version}

echo """
==========================================================
Installing ELIXIR $ex_version to run Adifier app....
==========================================================
"""
~/.asdf/asdf.sh add-plugin elixir https://github.com/asdf-vm/asdf-elixir.git
~/.asdf/asdf.sh install elixir ${ex_version}
asdf add-plugin elixir https://github.com/asdf-vm/asdf-elixir.git
asdf install elixir ${ex_version}

echo """
==========================================================
Expand Down

0 comments on commit 5b311cf

Please sign in to comment.