[commit: packages/Cabal] ghc-head: Run selected executables only (652349e)

git at git.haskell.org git
Fri Oct 11 20:32:58 UTC 2013


Repository : ssh://git at git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/packages/Cabal.git/commitdiff/652349e04d16a7f400ae5c2b6e9fff5641a3197c

>---------------------------------------------------------------

commit 652349e04d16a7f400ae5c2b6e9fff5641a3197c
Author: Johan Tibell <johan.tibell at gmail.com>
Date:   Wed Sep 11 16:37:16 2013 -0700

    Run selected executables only
    
    Passes the extra arguments to 'cabal run' to the build phase so that
    only the requested executables are built. Fixes #1503.
    (cherry picked from commit 5a62f4ab40dc8216cfb487be49372db16a85231c)


>---------------------------------------------------------------

652349e04d16a7f400ae5c2b6e9fff5641a3197c
 cabal-install/Main.hs |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cabal-install/Main.hs b/cabal-install/Main.hs
index 89e9089..70551b9 100644
--- a/cabal-install/Main.hs
+++ b/cabal-install/Main.hs
@@ -814,7 +814,7 @@ runAction (buildFlags, buildExFlags) extraArgs globalFlags = do
                 (const Nothing)
 
   maybeWithSandboxDirOnSearchPath useSandbox $
-    build verbosity distPref mempty []
+    build verbosity distPref mempty extraArgs
 
   maybeWithSandboxDirOnSearchPath useSandbox $
     run verbosity buildFlags extraArgs




More information about the ghc-commits mailing list