From 8aece596383cc7f58178c869ad3fb6b5ecd57e86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Gr=C3=B6ber?= Date: Fri, 6 Mar 2015 14:39:54 +0100 Subject: [PATCH] Add other-modules to library entrypoints --- CabalHelper/Main.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CabalHelper/Main.hs b/CabalHelper/Main.hs index 1d22abb..ee1ae38 100644 --- a/CabalHelper/Main.hs +++ b/CabalHelper/Main.hs @@ -282,7 +282,7 @@ gmModuleName = GmModuleName . intercalate "." . components componentEntrypoints :: Component -> Either FilePath [GmModuleName] componentEntrypoints (CLib Library {..}) - = Right $ map gmModuleName exposedModules + = Right $ map gmModuleName $ exposedModules ++ (otherModules libBuildInfo) componentEntrypoints (CExe Executable {..}) = Left modulePath componentEntrypoints (CTest TestSuite { testInterface = TestSuiteExeV10 _ fp })