This way the cache can be reliably cleared without having to maintain a list of all the different cache directories between multiple files.
The erlang cache wasn't changing when the stack changed due to the clean_cache not knowing that there were files for Erlang in ${cache_path}/OTP-*.zip (and elixir in ${cache_path}/elixir*.zip) .
This also adds a elixir_cache_path and a erlang_cache_path functions for allowing us to keep to track of the Elixir/Erlang caches in one central place.
This way the cache can be reliably cleared without having to maintain a list of all the different cache directories between multiple files.
The erlang cache wasn't changing when the stack changed due to the
clean_cache
not knowing that there were files for Erlang in${cache_path}/OTP-*.zip
(and elixir in${cache_path}/elixir*.zip
) .This also adds a
elixir_cache_path
and aerlang_cache_path
functions for allowing us to keep to track of the Elixir/Erlang caches in one central place.fixes #197