haskell-import-graph 1.0.1 → 1.0.2
raw patch · 3 files changed
+37/−44 lines, 3 filesdep ~classy-preludedep ~ghcdep ~graphvizsetup-changedPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: classy-prelude, ghc, graphviz, process, text, transformers
API changes (from Hackage documentation)
Files
- Setup.hs +0/−2
- haskell-import-graph.cabal +35/−40
- lib/System/ImportGraph/AppMain.hs +2/−2
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
haskell-import-graph.cabal view
@@ -1,55 +1,50 @@+-- This file has been generated from package.yaml by hpack version 0.17.0.+--+-- see: https://github.com/sol/hpack+ name: haskell-import-graph-version: 1.0.1+version: 1.0.2 synopsis: create haskell import graph for graphviz-description: {-create haskell import graph for graphviz-how to:-.-> cabal build-> haskell-import-graph-.-or-.-> haskell-import-graph dist/build/foo/foo-tmp/bar.hi-.-} license: MIT license-file: LICENSE author: ncaq maintainer: ncaq@ncaq.net-copyright: Copyright (c) 2015 ncaq+copyright: © ncaq category: Development+homepage: https://github.com/ncaq/haskell-import-graph.git#readme+bug-reports: https://github.com/ncaq/haskell-import-graph.git/issues build-type: Simple-cabal-version: >=1.10+cabal-version: >= 1.10 source-repository head- type: git+ type: git location: https://github.com/ncaq/haskell-import-graph.git library- hs-source-dirs: lib- exposed-modules: System.ImportGraph.AppMain- , System.ImportGraph.GetIface- , System.ImportGraph.ModuleCluster-- ghc-options: -Wall- default-language: Haskell2010- default-extensions: NamedFieldPuns- NoImplicitPrelude- OverloadedStrings- RecordWildCards-- build-depends: base >= 4.8 && < 5- , classy-prelude >= 0.12- , ghc >= 7.10- , graphviz >= 2999- , process >= 1.2- , text >= 1.2- , transformers >= 0.4+ hs-source-dirs:+ lib+ exposed-modules:+ System.ImportGraph.AppMain+ System.ImportGraph.GetIface+ System.ImportGraph.ModuleCluster+ ghc-options: -Wall+ default-language: Haskell2010+ default-extensions: NamedFieldPuns NoImplicitPrelude OverloadedStrings RecordWildCards+ build-depends:+ base >= 4.8 && < 5+ , classy-prelude+ , ghc+ , graphviz+ , process+ , text+ , transformers executable haskell-import-graph- hs-source-dirs: exec- main-is: Main.hs- ghc-options: -Wall- default-language: Haskell2010- build-depends: base, haskell-import-graph+ hs-source-dirs:+ exec+ main-is: Main.hs+ ghc-options: -Wall+ default-language: Haskell2010+ build-depends:+ base+ , haskell-import-graph
lib/System/ImportGraph/AppMain.hs view
@@ -32,8 +32,8 @@ getLibDirReadProcess = listToMaybe . lines <$> readProcess "ghc" ["--print-libdir"] "" help :: L.Text-help = unlines [ "Usage: cabal build && haskell-import-graph"- , "or: cabal build && haskell-import-graph dist/build/foo/foo-tmp/bar.hi"+help = unlines [ "Usage: haskell-import-graph"+ , "or: haskell-import-graph .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/haskell-import-graph/haskell-import-graph-tmp/Main.hi" ] renderGraph :: [ModIface] -> L.Text