]> gitweb.michael.orlitzky.com - list-remote-forwards.git/commitdiff
test/Doctests.hs: fix include paths with newer cabal.
authorMichael Orlitzky <michael@orlitzky.com>
Wed, 24 Aug 2022 13:48:59 +0000 (09:48 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Wed, 24 Aug 2022 13:48:59 +0000 (09:48 -0400)
test/Doctests.hs

index 81bc6204d4b51ec0075dbbca4576643f7888f1c6..eb8b6716398aa6ba65ffea74bc2f8ed8beccccf2 100644 (file)
@@ -10,4 +10,7 @@ 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
+             "-idist/build/list-remote-forwards/autogen" -- new cabal
+            ] ++ sources