packages feed

shadower 0.1.0.2 → 0.1.0.3

raw patch · 2 files changed

+6/−3 lines, 2 files

Files

shadower.cabal view
@@ -1,8 +1,8 @@ name:                shadower-version:             0.1.0.2+version:             0.1.0.3 synopsis:            An automated way to run doctests in files that are changing description:         Shadower watches folders with Haskell sources, and runs doctests in files that are modified-homepage:             http://github.com/karun012/shadower+homepage:            http://github.com/karun012/shadower license:             PublicDomain license-file:        LICENSE author:              Karun Ramakrishnan
src/Shadower.hs view
@@ -44,7 +44,10 @@ runDocTests :: String -> IO () runDocTests file = do               _ <- putStrLn $ "Running doctests in " ++ file-              doctest [file]+              doctest $+                  "-isrc"+                : [file]+  isHaskellSource :: String -> Bool isHaskellSource file = endswith ".hs" file || endswith ".lhs" file