X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2FDoctests.hs;h=eb8b6716398aa6ba65ffea74bc2f8ed8beccccf2;hb=72236450b116292551daec5255d4915ff431bf4b;hp=2e15a1414ffe218832f6893fb8418d157f3c0133;hpb=5963defc2447209131e87070d1bbb4718aee707d;p=list-remote-forwards.git diff --git a/test/Doctests.hs b/test/Doctests.hs index 2e15a14..eb8b671 100644 --- a/test/Doctests.hs +++ b/test/Doctests.hs @@ -1,7 +1,7 @@ module Main (main) where -import Test.DocTest +import Test.DocTest ( doctest ) import System.FilePath.Find ((==?), always, extension, find) find_sources :: IO [FilePath] @@ -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