diff options
author | Ben Sima <ben@bsima.me> | 2021-12-07 14:22:18 -0500 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-12-07 14:22:18 -0500 |
commit | 7868cc248e01a36827338d8fca6b57f8999a1ba1 (patch) | |
tree | 4e132e3a5457f19ee0e414b281726680c88f417d /Biz/Bild.hs | |
parent | ab590a59b01ff26e691874968a9aba419aaf6882 (diff) |
Add simple API key feature to Dragons.dev
Still need to add this to the CLI, and there should be other features like
delete and so on, but this works for now.
Diffstat (limited to 'Biz/Bild.hs')
-rw-r--r-- | Biz/Bild.hs | 2 |
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 <- |