Skip to content

Commit 67ef8c1

Browse files
authored
Organize cached artefacts to simplify cleanup (#88)
This moves the default directory, `elixir_make`, for storing downloaded precompiled artefacts to a subdirectory in the user's cache directory so that it's easier to know which files can be removed.
1 parent 9a571fd commit 67ef8c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/elixir_make/artefact.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ defmodule ElixirMake.Artefact do
1616
cache_dir =
1717
Path.expand(
1818
System.get_env("ELIXIR_MAKE_CACHE_DIR") ||
19-
:filename.basedir(:user_cache, "", cache_opts)
19+
:filename.basedir(:user_cache, "elixir_make", cache_opts)
2020
)
2121

2222
File.mkdir_p!(cache_dir)

0 commit comments

Comments
 (0)