Skip to content

Commit

Permalink
Update showBuildInfoAction documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
lukel97 committed Jun 2, 2020
1 parent 38eaa98 commit f45c305
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions cabal-install/Distribution/Client/CmdShowBuildInfo.hs
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,9 @@ defaultShowBuildInfoFlags = ShowBuildInfoFlags
, buildInfoUnitIds = Nothing
}

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

0 comments on commit f45c305

Please sign in to comment.