@@ -18,7 +18,7 @@ import Distribution.Client.Setup
18
18
)
19
19
import qualified Distribution.Client.Setup as Client
20
20
import Distribution.Simple.Setup
21
- ( HaddockFlags , TestFlags
21
+ ( HaddockFlags , TestFlags , BenchmarkFlags
22
22
, fromFlagOrDefault
23
23
)
24
24
import Distribution.Simple.Command
@@ -91,14 +91,14 @@ showBuildInfoCommand = CmdInstall.installCommand {
91
91
}
92
92
93
93
data ShowBuildInfoFlags = ShowBuildInfoFlags
94
- { buildInfoInstallCommandFlags :: (ConfigFlags , ConfigExFlags , InstallFlags , HaddockFlags , TestFlags , ClientInstallFlags )
94
+ { buildInfoInstallCommandFlags :: (ConfigFlags , ConfigExFlags , InstallFlags , HaddockFlags , TestFlags , BenchmarkFlags , ClientInstallFlags )
95
95
, buildInfoOutputFile :: Maybe FilePath
96
96
, buildInfoUnitIds :: Maybe [String ]
97
97
}
98
98
99
99
defaultShowBuildInfoFlags :: ShowBuildInfoFlags
100
100
defaultShowBuildInfoFlags = ShowBuildInfoFlags
101
- { buildInfoInstallCommandFlags = (mempty , mempty , mempty , mempty , mempty , mempty )
101
+ { buildInfoInstallCommandFlags = (mempty , mempty , mempty , mempty , mempty , mempty , mempty )
102
102
, buildInfoOutputFile = Nothing
103
103
, buildInfoUnitIds = Nothing
104
104
}
@@ -111,7 +111,7 @@ defaultShowBuildInfoFlags = ShowBuildInfoFlags
111
111
-- "Distribution.Client.ProjectOrchestration"
112
112
--
113
113
showBuildInfoAction :: ShowBuildInfoFlags -> [String ] -> GlobalFlags -> IO ()
114
- showBuildInfoAction (ShowBuildInfoFlags (configFlags, configExFlags, installFlags, haddockFlags, testFlags, clientInstallFlags) fileOutput unitIds)
114
+ showBuildInfoAction (ShowBuildInfoFlags (configFlags, configExFlags, installFlags, haddockFlags, testFlags, benchmarkFlags, clientInstallFlags) fileOutput unitIds)
115
115
targetStrings globalFlags = do
116
116
baseCtx <- establishProjectBaseContext verbosity cliConfig OtherCommand
117
117
let baseCtx' = baseCtx
@@ -147,6 +147,7 @@ showBuildInfoAction (ShowBuildInfoFlags (configFlags, configExFlags, installFlag
147
147
installFlags clientInstallFlags
148
148
haddockFlags
149
149
testFlags
150
+ benchmarkFlags
150
151
151
152
-- Pretty nasty piecemeal out of json, but I can't see a way to retrieve output of the setupWrapper'd tasks
152
153
showTargets :: Maybe FilePath -> Maybe [String ] -> Verbosity -> ProjectBaseContext -> ProjectBuildContext -> Lock -> IO ()
0 commit comments