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