Merge pull request #8 from endgame/fix-doctests
Add doctests.hs where the cabal file expects it
This commit is contained in:
commit
0f0c10dfb3
2 changed files with 10 additions and 4 deletions
|
@ -1,4 +0,0 @@
|
||||||
module Main where
|
|
||||||
|
|
||||||
main :: IO ()
|
|
||||||
main = pure ()
|
|
10
test/doctests.hs
Normal file
10
test/doctests.hs
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
import Test.DocTest
|
||||||
|
|
||||||
|
main :: IO ()
|
||||||
|
main = doctest
|
||||||
|
[ "-isrc"
|
||||||
|
, "src/Lets/GetSetLens.hs"
|
||||||
|
, "src/Lets/Lens.hs"
|
||||||
|
, "src/Lets/OpticPolyLens.hs"
|
||||||
|
, "src/Lets/StoreLens.hs"
|
||||||
|
]
|
Loading…
Reference in a new issue