Skip to content

Commit

Permalink
feat(build): #990 move cache directory
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Cardona <sebas03181@gmail.com>
  • Loading branch information
sebas031811 committed Jun 24, 2023
1 parent 3004ae7 commit 4f772b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/cli/main/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,9 @@
highlight=False,
file=io.TextIOWrapper(sys.stderr.buffer, write_through=True),
)
MAKES_DIR: str = join(environ["HOME_IMPURE"], ".makes")
makedirs(join(MAKES_DIR, "cache"), exist_ok=True)
SOURCES_CACHE: str = join(MAKES_DIR, "cache", "sources")
MAKES_DIR: str = join(environ["HOME_IMPURE"], ".cache")
makedirs(join(MAKES_DIR, "makes"), exist_ok=True)
SOURCES_CACHE: str = join(MAKES_DIR, "makes", "sources")
ON_EXIT: List[Callable[[], None]] = []
VERSION: str = "23.06"

Expand Down
2 changes: 1 addition & 1 deletion src/cli/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def test_dot_hello_world() -> None:
def test_remote_hello_world() -> None:
cache = (
os.environ["HOME_IMPURE"]
+ "/.makes/cache/sources/github-fluidattacks-makes-main"
+ "/.cache/makes/sources/github-fluidattacks-makes-main"
)

shutil.rmtree(cache, ignore_errors=True)
Expand Down

0 comments on commit 4f772b2

Please sign in to comment.