X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=test%2FDoctests.hs;h=af7167d52a469aa2f504e913a9d18c6053e405a2;hb=070d0876a5663270bd393cee354f4df368b146a4;hp=0c9ec0a3fd7c7715df72fdf1382d85dedb7cc646;hpb=a896a1012dcceba38d7344e03bd784b17243fad7;p=haeredes.git diff --git a/test/Doctests.hs b/test/Doctests.hs index 0c9ec0a..af7167d 100644 --- a/test/Doctests.hs +++ b/test/Doctests.hs @@ -1,4 +1,4 @@ -module Main +module Main (main) where import Test.DocTest (doctest) @@ -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