Skip to content

Commit

Permalink
Expose BuildFlags and ClientHaddockFlags (#8353)
Browse files Browse the repository at this point in the history
  • Loading branch information
kokobd authored Aug 16, 2022
1 parent 8787293 commit 3e9e6c3
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cabal-install/src/Distribution/Client/CmdBuild.hs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ module Distribution.Client.CmdBuild (
buildCommand,
buildAction,

BuildFlags(..),
defaultBuildFlags,

-- * Internals exposed for testing
selectPackageTargets,
selectComponentTarget
Expand Down
2 changes: 2 additions & 0 deletions cabal-install/src/Distribution/Client/CmdHaddock.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ module Distribution.Client.CmdHaddock (
haddockCommand,
haddockAction,

ClientHaddockFlags(..),

-- * Internals exposed for testing
selectPackageTargets,
selectComponentTarget
Expand Down
11 changes: 11 additions & 0 deletions changelog.d/issue-8351
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
synopsis: Expose BuildFlags and ClientHaddockFlags
packages: cabal-install
prs: #8353
issues: #8351

description: {

Some types are present in public functions in cabal-install, but they are not exported.
This PR fix it for BuildFlags and ClientHaddockFlags.

}

0 comments on commit 3e9e6c3

Please sign in to comment.