From 8e96ed57dca9ddc7e0067dbce52e0aa52754a7c6 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Thu, 23 May 2024 14:49:13 -0400 Subject: Put __pycache__ in _/int This shouldn't be polluting the main namespace. --- .envrc | 3 +++ .gitignore | 1 - Biz/Bild.hs | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.envrc b/.envrc index 8fa2948..f4cd8d6 100644 --- a/.envrc +++ b/.envrc @@ -25,6 +25,9 @@ # library/linkable bild outputs go here export LTDL_LIBRARY_PATH=$CODEROOT/_/lib # +# intermediate compilation artifacts go here + export PYTHONPYCACHEPREFIX=$CODEROOT/_/int +# # Biz/Dragons.hs: export GITHUB_CLIENT_ID=aa575dc96263bc99556d export GITHUB_CLIENT_STATE=$(cat /proc/sys/kernel/random/uuid) diff --git a/.gitignore b/.gitignore index ad99c04..c9a99bf 100644 --- a/.gitignore +++ b/.gitignore @@ -15,5 +15,4 @@ tags dist* .envrc.local .direnv/ -__pycache__ Biz/Mynion/Prompt.md diff --git a/Biz/Bild.hs b/Biz/Bild.hs index a67c1c2..cb3fe16 100644 --- a/Biz/Bild.hs +++ b/Biz/Bild.hs @@ -275,7 +275,7 @@ test_isGitIgnored = res <- isGitIgnored "_" res @=? True, Test.unit "filters many" <| do - traverse isGitIgnored ["Biz/Bild.hs", "__pycache__"] + traverse isGitIgnored ["Biz/Bild.hs", "TAGS"] +> (@=? [False, True]) ] -- cgit v1.2.3