Skip to content

Commit

Permalink
Updates to Haddock documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Oct 9, 2023
1 parent 58a6861 commit 2d89f3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Stack/SDist.hs
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,8 @@ readLocalPackage pkgDir = do
, lpWanted = False -- HACK: makes it so that sdist output goes to a log
-- instead of a file.
, lpCabalFile = cabalfp
-- NOTE: these aren't the 'correct values, but aren't used in
-- the usage of this function in this module.
-- NOTE: these aren't the 'correct' values, but aren't used in the usage of
-- this function in this module.
, lpTestBench = Nothing
, lpBuildHaddocks = False
, lpForceDirty = False
Expand Down
3 changes: 3 additions & 0 deletions src/Stack/SourceMap.hs
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ mkProjectPackage printWarnings dir buildHaddocks = do
additionalDepPackage ::
forall env. (HasPantryConfig env, HasLogFunc env, HasProcessContext env)
=> Bool
-- ^ Should Haddock documentation be built for the package?
-> PackageLocation
-> RIO env DepPackage
additionalDepPackage buildHaddocks pl = do
Expand Down Expand Up @@ -111,6 +112,7 @@ additionalDepPackage buildHaddocks pl = do
snapToDepPackage ::
forall env. (HasPantryConfig env, HasLogFunc env, HasProcessContext env)
=> Bool
-- ^ Should Haddock documentation be built for the package?
-> PackageName
-> SnapshotPackage
-> RIO env DepPackage
Expand Down Expand Up @@ -281,6 +283,7 @@ loadProjectSnapshotCandidate ::
=> RawSnapshotLocation
-> PrintWarnings
-> Bool
-- ^ Should Haddock documentation be build for the package?
-> RIO env (SnapshotCandidate env)
loadProjectSnapshotCandidate loc printWarnings buildHaddocks = do
debugRSL <- view rslInLogL
Expand Down

0 comments on commit 2d89f3f

Please sign in to comment.