diff options
Diffstat (limited to 'src/CabalHelper/Shared')
-rw-r--r-- | src/CabalHelper/Shared/InterfaceTypes.hs | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/CabalHelper/Shared/InterfaceTypes.hs b/src/CabalHelper/Shared/InterfaceTypes.hs index 5f4972f..bf61bb7 100644 --- a/src/CabalHelper/Shared/InterfaceTypes.hs +++ b/src/CabalHelper/Shared/InterfaceTypes.hs @@ -47,11 +47,15 @@ data ChResponse data ChComponentName = ChSetupHsName | ChLibName - | ChSubLibName String - | ChFLibName String - | ChExeName String - | ChTestName String - | ChBenchName String + | 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 deriving (Eq, Ord, Read, Show, Generic) newtype ChModuleName = ChModuleName String @@ -64,6 +68,7 @@ data ChEntrypoint = ChSetupEntrypoint -- ^ Almost like 'ChExeEntrypoint' but -- to find these files. | ChLibEntrypoint { chExposedModules :: [ChModuleName] , chOtherModules :: [ChModuleName] + , chSignatures :: [ChModuleName] -- backpack only } | ChExeEntrypoint { chMainIs :: FilePath , chOtherModules :: [ChModuleName] |