Add show-build-info command in lib:Cabal
commit11bede9fb31eaaebe2af4ee3f790d028fc2fc4d7
authorBen Gamari <ben@smart-cactus.org>
Sun, 16 Aug 2015 17:50:39 +0000 (16 19:50 +0200)
committerMikhail Glushenkov <mikhail.glushenkov@gmail.com>
Tue, 25 Jun 2019 02:25:11 +0000 (25 03:25 +0100)
tree93d24efda36df19082b698dca15e96fb6d75ee29
parentf64cee91d840a88903331b4bbeeab9167f075ca5
Add show-build-info command in lib:Cabal

This allows users to get a JSON representation of various information
about how Cabal would go about building a package. The output of this
command is intended for external tools and therefore the format should
remain stable.
Cabal/Cabal.cabal
Cabal/Distribution/Simple.hs
Cabal/Distribution/Simple/Build.hs
Cabal/Distribution/Simple/Setup.hs
Cabal/Distribution/Simple/ShowBuildInfo.hs [new file with mode: 0644]
Cabal/Distribution/Simple/UserHooks.hs
Cabal/Distribution/Simple/Utils/Json.hs [new file with mode: 0644]