Commit f1a3a81f authored by Oleg Grenrus's avatar Oleg Grenrus
Browse files

Test targets are emphemeral

parent f0ee9f70
......@@ -2009,6 +2009,7 @@ elaboratePackageTargets ElaboratedConfiguredPackage{..} targets =
pkgHasEphemeralBuildTargets :: ElaboratedConfiguredPackage -> Bool
pkgHasEphemeralBuildTargets elab =
isJust (elabReplTarget elab)
|| (not . null) (elabTestTargets elab)
|| (not . null) [ () | ComponentTarget _ subtarget <- elabBuildTargets elab
, subtarget /= WholeComponent ]
......
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