Skip to content

Commit d2325a3

Browse files
committed
Update showBuildInfoAction documentation
1 parent 3bad140 commit d2325a3

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

cabal-install/Distribution/Client/CmdShowBuildInfo.hs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,13 +104,9 @@ defaultShowBuildInfoFlags = ShowBuildInfoFlags
104104
, buildInfoUnitIds = Nothing
105105
}
106106

107-
-- | The @show-build-info@ command does a lot. It brings the install plan up to date,
108-
-- selects that part of the plan needed by the given or implicit targets and
109-
-- then executes the plan.
110-
--
111-
-- For more details on how this works, see the module
112-
-- "Distribution.Client.ProjectOrchestration"
113-
--
107+
-- | The @show-build-info@ exports information about a package and the compiler
108+
-- configuration used to build it as JSON, that can be used by other tooling.
109+
-- See "Distribution.Simple.ShowBuildInfo" for more information.
114110
showBuildInfoAction :: ShowBuildInfoFlags -> [String] -> GlobalFlags -> IO ()
115111
showBuildInfoAction (ShowBuildInfoFlags (configFlags, configExFlags, installFlags, haddockFlags, testFlags, benchmarkFlags, clientInstallFlags) fileOutput unitIds)
116112
targetStrings globalFlags = do

0 commit comments

Comments
 (0)