From 7868cc248e01a36827338d8fca6b57f8999a1ba1 Mon Sep 17 00:00:00 2001 From: Ben Sima Date: Tue, 7 Dec 2021 14:22:18 -0500 Subject: 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. --- Biz/Bild.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Biz/Bild.hs') 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 <- -- cgit v1.2.3