]> gitweb.michael.orlitzky.com - haeredes.git/blobdiff - test/Doctests.hs
test/Doctests.hs: fix double-slash typo.
[haeredes.git] / test / Doctests.hs
index 22124b13cc5cd7d57c7c055420e5be07e9b04f59..af7167d52a469aa2f504e913a9d18c6053e405a2 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/haeredes/autogen" -- new cabal versions
+            ]
+            ++ sources