diff options
author | Ben Sima <ben@bsima.me> | 2024-05-23 14:49:13 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2024-05-23 14:49:13 -0400 |
commit | 8e96ed57dca9ddc7e0067dbce52e0aa52754a7c6 (patch) | |
tree | 2f8ea7742bbbf35b3e71d36268b4efcdcceb0797 | |
parent | 93fc94363e6aeeb7bf45cdb57af3179e66933813 (diff) |
Put __pycache__ in _/int
This shouldn't be polluting the main namespace.
-rw-r--r-- | .envrc | 3 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Biz/Bild.hs | 2 |
3 files changed, 4 insertions, 2 deletions
@@ -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) @@ -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]) ] |