Skip to content

Commit

Permalink
Organize cached artefacts to simplify cleanup (#88)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
fhunleth authored Sep 17, 2024
1 parent 9a571fd commit 67ef8c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/elixir_make/artefact.ex
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ defmodule ElixirMake.Artefact do
cache_dir =
Path.expand(
System.get_env("ELIXIR_MAKE_CACHE_DIR") ||
:filename.basedir(:user_cache, "", cache_opts)
:filename.basedir(:user_cache, "elixir_make", cache_opts)
)

File.mkdir_p!(cache_dir)
Expand Down

0 comments on commit 67ef8c1

Please sign in to comment.