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
|
args <- getArgs
|
||||||
cremPackage <- findCabalPackage "crem"
|
cremPackage <- findCabalPackage "crem"
|
||||||
cremLib <- extractCabalLibrary cremPackage
|
cremLib <- extractCabalLibrary cremPackage
|
||||||
-- cremExamplesLib <- extractSpecificCabalLibrary (Just "crem-examples") cremPackage
|
cremExamplesLib <- extractSpecificCabalLibrary (Just "crem-examples") cremPackage
|
||||||
let
|
let
|
||||||
wholeCremLib = mergeLibraries [cremLib {-, cremExamplesLib-}]
|
wholeCremLib = mergeLibraries [cremLib, cremExamplesLib]
|
||||||
mainFromLibrary wholeCremLib args
|
mainFromLibrary wholeCremLib args
|
||||||
|
@ -6,4 +6,5 @@
|
|||||||
"src"
|
"src"
|
||||||
"spec"
|
"spec"
|
||||||
"package.yaml"
|
"package.yaml"
|
||||||
|
"cabal.project"
|
||||||
]
|
]
|
||||||
|
@ -146,6 +146,7 @@ tests:
|
|||||||
- -Wno-unused-packages
|
- -Wno-unused-packages
|
||||||
dependencies:
|
dependencies:
|
||||||
- crem
|
- crem
|
||||||
|
- crem-examples
|
||||||
- doctest-parallel
|
- doctest-parallel
|
||||||
when:
|
when:
|
||||||
- condition: false
|
- condition: false
|
||||||
|
Loading…
Reference in New Issue
Block a user