mirror of
https://github.com/marcosh/crem.git
synced 2024-08-16 16:00:37 +03:00
try building doctests on examples
This commit is contained in:
parent
2b01fd6cbb
commit
9c0a65d019
2
cabal.project
Normal file
2
cabal.project
Normal file
@ -0,0 +1,2 @@
|
||||
packages: *.cabal
|
||||
write-ghc-environment-files: always
|
@ -9,7 +9,7 @@ main = do
|
||||
args <- getArgs
|
||||
cremPackage <- findCabalPackage "crem"
|
||||
cremLib <- extractCabalLibrary cremPackage
|
||||
-- cremExamplesLib <- extractSpecificCabalLibrary (Just "crem-examples") cremPackage
|
||||
cremExamplesLib <- extractSpecificCabalLibrary (Just "crem-examples") cremPackage
|
||||
let
|
||||
wholeCremLib = mergeLibraries [cremLib {-, cremExamplesLib-}]
|
||||
wholeCremLib = mergeLibraries [cremLib, cremExamplesLib]
|
||||
mainFromLibrary wholeCremLib args
|
||||
|
@ -6,4 +6,5 @@
|
||||
"src"
|
||||
"spec"
|
||||
"package.yaml"
|
||||
"cabal.project"
|
||||
]
|
||||
|
@ -146,6 +146,7 @@ tests:
|
||||
- -Wno-unused-packages
|
||||
dependencies:
|
||||
- crem
|
||||
- crem-examples
|
||||
- doctest-parallel
|
||||
when:
|
||||
- condition: false
|
||||
|
Loading…
Reference in New Issue
Block a user