Commit c74eb192 authored by Duncan Coutts's avatar Duncan Coutts
Browse files

Rename module D.C.BuildTarget -> TargetSelector

parent 130e44a6
......@@ -89,7 +89,7 @@ import Distribution.Client.ProjectPlanOutput
import Distribution.Client.Types
( GenericReadyPackage(..), UnresolvedSourcePackage )
import qualified Distribution.Client.InstallPlan as InstallPlan
import Distribution.Client.BuildTarget
import Distribution.Client.TargetSelector
( TargetSelector(..), readTargetSelectors, buildTargetPackage
, reportTargetSelectorProblems )
import Distribution.Client.DistDirLayout
......
......@@ -48,7 +48,7 @@ module Distribution.Client.ProjectPlanning.Types (
SetupScriptStyle(..),
) where
import Distribution.Client.BuildTarget
import Distribution.Client.TargetSelector
( SubComponentTarget(..) )
import Distribution.Client.PackageHash
......
{-# LANGUAGE CPP, DeriveGeneric, DeriveFunctor #-}
-----------------------------------------------------------------------------
-- |
-- Module : Distribution.Client.BuildTargets
-- Module : Distribution.Client.TargetSelector
-- Copyright : (c) Duncan Coutts 2012, 2015, 2016
-- License : BSD-like
--
......@@ -10,7 +10,7 @@
-- Handling for user-specified target selectors.
--
-----------------------------------------------------------------------------
module Distribution.Client.BuildTarget (
module Distribution.Client.TargetSelector (
-- * Target selectors
TargetSelector(..),
......@@ -507,7 +507,7 @@ disambiguateTargetSelectors matcher matchInput exactMatch matchResults =
internalError :: String -> a
internalError msg =
error $ "BuildTargets: internal error: " ++ msg
error $ "TargetSelector: internal error: " ++ msg
-- | Throw an exception with a formatted message if there are any problems.
......
......@@ -222,7 +222,6 @@ library
-Wnoncanonical-monadfail-instances
exposed-modules:
Distribution.Client.BuildTarget
Distribution.Client.BuildReports.Anonymous
Distribution.Client.BuildReports.Storage
Distribution.Client.BuildReports.Types
......@@ -298,6 +297,7 @@ library
Distribution.Client.SourceFiles
Distribution.Client.Tar
Distribution.Client.Targets
Distribution.Client.TargetSelector
Distribution.Client.Types
Distribution.Client.Update
Distribution.Client.Upload
......
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