lib: make doctests build with ghc 7.10 again
This commit is contained in:
		
							parent
							
								
									1f2b00ee3b
								
							
						
					
					
						commit
						0175a0231d
					
				| @ -5,10 +5,8 @@ import Data.Monoid | ||||
| import "Glob" System.FilePath.Glob | ||||
| import Test.DocTest | ||||
| 
 | ||||
| main = | ||||
|      pure ["Hledger.hs"] | ||||
|   <> glob "Hledger/**/*.hs"  | ||||
|   <> glob "Text/**/*.hs" | ||||
|   -- <> glob "other/ledger-parse/**/*.hs" | ||||
|   >>= pure . filter (not . isInfixOf "/.")  | ||||
|   >>= doctest | ||||
| main = do | ||||
|   fs1 <- glob "Hledger/**/*.hs" | ||||
|   fs2 <- glob "Text/**/*.hs" | ||||
|   --fs3 <- glob "other/ledger-parse/**/*.hs" | ||||
|   doctest $ filter (not . isInfixOf "/.") $ ["Hledger.hs"] ++ fs1 ++ fs2 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user