]> gitweb.michael.orlitzky.com - mailbox-count.git/commitdiff
test/Doctests.hs: update the include path for newer cabals. 0.0.3
authorMichael Orlitzky <michael@orlitzky.com>
Sun, 2 Feb 2020 05:40:55 +0000 (00:40 -0500)
committerMichael Orlitzky <michael@orlitzky.com>
Sun, 2 Feb 2020 05:40:55 +0000 (00:40 -0500)
test/Doctests.hs

index 83bc6124ecf8fb44af7208740fa970ff1eeb0bd0..6025a8d65c47d1f8ea5a65f19438706cd4f94645 100644 (file)
@@ -10,4 +10,8 @@ find_sources = find always (extension ==? ".hs") "src/"
 main :: IO ()
 main = do
   sources <- find_sources
-  doctest $ ["-isrc", "-idist/build/autogen"] ++ sources
+  doctest $ ["-isrc",
+             "-idist/build/autogen",              -- old cabal versions
+             "-idist/build/mailbox-count/autogen" -- new cabal versions
+            ]
+            ++ sources