diff options
Diffstat (limited to 'src/CabalHelper/Shared')
-rw-r--r-- | src/CabalHelper/Shared/InterfaceTypes.hs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/CabalHelper/Shared/InterfaceTypes.hs b/src/CabalHelper/Shared/InterfaceTypes.hs index bf61bb7..2f2e6a3 100644 --- a/src/CabalHelper/Shared/InterfaceTypes.hs +++ b/src/CabalHelper/Shared/InterfaceTypes.hs @@ -37,6 +37,7 @@ import Data.Version data ChResponse = ChResponseCompList [(ChComponentName, [String])] | ChResponseEntrypoints [(ChComponentName, ChEntrypoint)] + | ChResponseNeedsBuild [(ChComponentName, NeedsBuildOutput)] | ChResponseList [String] | ChResponsePkgDbs [ChPkgDb] | ChResponseLbi String @@ -47,15 +48,11 @@ data ChResponse data ChComponentName = ChSetupHsName | ChLibName - | ChSubLibName String ChUnitId - | ChFLibName String ChUnitId - | ChExeName String ChUnitId - | ChTestName String ChUnitId - | ChBenchName String ChUnitId - deriving (Eq, Ord, Read, Show, Generic) - -data ChUnitId = ChNoUnitId - | ChUnitId String + | ChSubLibName String + | ChFLibName String + | ChExeName String + | ChTestName String + | ChBenchName String deriving (Eq, Ord, Read, Show, Generic) newtype ChModuleName = ChModuleName String @@ -78,3 +75,6 @@ data ChPkgDb = ChPkgGlobal | ChPkgUser | ChPkgSpecific FilePath deriving (Eq, Ord, Read, Show, Generic) + +data NeedsBuildOutput = ProduceBuildOutput | NoBuildOutput + deriving (Eq, Ord, Read, Show, Generic) |