[commit: Cabal] : Register 'bench' command with the CLI (52285df)
Ian Lynagh
igloo at earth.li
Fri Nov 4 18:07:25 CET 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch :
http://hackage.haskell.org/trac/ghc/changeset/52285df0a921cd9ad8de5a135e8d43d464209d88
>---------------------------------------------------------------
commit 52285df0a921cd9ad8de5a135e8d43d464209d88
Author: Johan Tibell <johan.tibell at gmail.com>
Date: Wed Oct 26 00:53:09 2011 +0000
Register 'bench' command with the CLI
>---------------------------------------------------------------
cabal-install/Main.hs | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/cabal-install/Main.hs b/cabal-install/Main.hs
index 4419444..d2e5499 100644
--- a/cabal-install/Main.hs
+++ b/cabal-install/Main.hs
@@ -38,6 +38,7 @@ import Distribution.Simple.Setup
, RegisterFlags(..), registerCommand
, CleanFlags(..), cleanCommand
, TestFlags(..), testCommand
+ , BenchmarkFlags(..), benchmarkCommand
, Flag(..), fromFlag, fromFlagOrDefault, flagToMaybe )
import Distribution.Client.SetupWrapper
@@ -150,6 +151,8 @@ mainWorker args = topHandler $
regVerbosity regDistPref
,wrapperAction testCommand
testVerbosity testDistPref
+ ,wrapperAction benchmarkCommand
+ benchmarkVerbosity benchmarkDistPref
,upgradeCommand `commandAddAction` upgradeAction
]
More information about the Cvs-libraries
mailing list