summaryrefslogtreecommitdiff
path: root/Biz/Bild.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Bild.hs')
-rw-r--r--Biz/Bild.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Biz/Bild.hs b/Biz/Bild.hs
index 26bf120..2eaf840 100644
--- a/Biz/Bild.hs
+++ b/Biz/Bild.hs
@@ -318,6 +318,8 @@ detectImports (Namespace _ Namespace.Hs) contentLines = do
pure <| pkgs <> transitivePkgs
detectImports _ _ = Exit.die "can only detectImports for Haskell"
+-- | TODO: globally cache analyses, so I'm not re-analyzing modules all the
+-- time. This is important as it would speed up building by a lot.
analyze :: FilePath -> IO (Maybe Target)
analyze path = do
content <-