Commit 5a62f4ab authored by tibbe's avatar tibbe
Browse files

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.
parent 0a7f56ad
......@@ -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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment