diff options
author | Ben Sima <ben@bsima.me> | 2021-07-23 14:28:35 -0400 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2021-11-26 13:47:37 -0500 |
commit | 0264f4a5dc37b16f872e6fa92bd8f1fc1e2b1826 (patch) | |
tree | db66845496f21afe845abaa23546b82be9c8adf0 /Hero | |
parent | 7f311fd420e92b6d90007fdd3b2d843e6e1752c3 (diff) |
Automatically detect Haskell dependencies
This parses the files contents for imports, then uses ghc-pkg to lookup the
package that provides the module. Now I can do that analysis in Haskell instead
of nix, which is much easier to code with.
Diffstat (limited to 'Hero')
-rw-r--r-- | Hero/Host.hs | 33 | ||||
-rw-r--r-- | Hero/Node.hs | 10 |
2 files changed, 0 insertions, 43 deletions
diff --git a/Hero/Host.hs b/Hero/Host.hs index 6313ae5..7cc5986 100644 --- a/Hero/Host.hs +++ b/Hero/Host.hs @@ -15,39 +15,6 @@ -- | Hero web app -- -- : out mmc --- --- : dep acid-state --- : dep aeson --- : dep clay --- : dep containers --- : dep docopt --- : dep envy --- : dep http-types --- : dep ixset --- : dep lucid --- : dep miso --- : dep mtl --- : dep network-uri --- : dep protolude --- : dep rainbow --- : dep safecopy --- : dep servant --- : dep servant-auth --- : dep servant-auth-server --- : dep servant-lucid --- : dep servant-server --- : dep split --- : dep tasty --- : dep tasty-hunit --- : dep tasty-quickcheck --- : dep text --- : dep wai --- : dep wai-app-static --- : dep wai-extra --- : dep wai-middleware-metrics --- : dep warp --- : dep x509 --- : dep regex-applicative module Hero.Host ( main, ) diff --git a/Hero/Node.hs b/Hero/Node.hs index f08732f..11190e7 100644 --- a/Hero/Node.hs +++ b/Hero/Node.hs @@ -6,16 +6,6 @@ -- | Hero app frontend -- -- : out mmc.js --- --- : dep aeson --- : dep clay --- : dep containers --- : dep miso --- : dep protolude --- : dep servant --- : dep split --- : dep text --- : dep ghcjs-base module Hero.Node where import Alpha |