feat: pin elixir and erlang versions for asdf
MODIFY
.circleci/config.yml
.circleci/config.yml
@@ -99,10 +99,7 @@ jobs:
source ~/.bash_profile
asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git
- asdf install erlang 22.3
- asdf install elixir 1.10.2
- asdf global elixir 1.10.2
- asdf global erlang 22.3
+ asdf install
- run: make init_test
- run:
command: ./bin/setup
@@ -467,10 +464,7 @@ jobs:
source $BASH_ENV
asdf plugin-add erlang || asdf plugin-update erlang
asdf plugin-add elixir || asdf plugin-update elixir
- asdf install erlang 22.3
- asdf install elixir 1.10.2
- asdf global elixir 1.10.2
- asdf global erlang 22.3
+ asdf install
no_output_timeout: 2400
- save_cache:
key: v2-asdf-install
@@ -565,10 +559,7 @@ jobs:
source $BASH_ENV
asdf plugin-add erlang || asdf plugin-update erlang
asdf plugin-add elixir || asdf plugin-update elixir
- asdf install erlang 22.3
- asdf install elixir 1.10.2
- asdf global elixir 1.10.2
- asdf global erlang 22.3
+ asdf install
no_output_timeout: 2400
- save_cache:
key: v2-asdf-install
@@ -628,10 +619,7 @@ jobs:
source $BASH_ENV
asdf plugin-add erlang || asdf plugin-update erlang
asdf plugin-add elixir || asdf plugin-update elixir
- asdf install erlang 22.3
- asdf install elixir 1.10.2
- asdf global elixir 1.10.2
- asdf global erlang 22.3
+ asdf install
no_output_timeout: 2400
- save_cache:
key: v2-asdf-install

MODIFY
.gitignore
.gitignore
@@ -79,7 +79,3 @@ localchain_contract_addresses.env
#vs code
.tool_versions
-
-# asdf version
-.tool-versions
-

ADD
.tool-versions
+erlang 22.3
+elixir 1.10.2

MODIFY
bin/setup
bin/setup
@@ -128,10 +128,8 @@ install_deps
#Linux and MacOS
#asdf plugin-add elixir https://github.com/asdf-vm/asdf-elixir.git
#asdf plugin-add erlang https://github.com/asdf-vm/asdf-erlang.git
-#asdf install erlang 22.3
-#asdf install elixir 1.10.2
-#asdf global elixir 1.10.2
-#asdf global erlang 22.3
+#asdf install
+
if ! command -v mix > /dev/null; then
fancy_echo "It looks like you don't have Elixir installed."
echo "See https://asdf-vm.com/#/core-manage-asdf-vm for instructions."

feat: pin elixir and erlang versions for asdf (#1648)