File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55CABALBUILD := cabal build
66CABALRUN := cabal run
77
8- DOCTEST := cabal doctest
8+ DOCTEST := cabal repl --with-compiler= doctest --build-depends=QuickCheck --verbose=0 --repl-options='-w -Wdefault -Wno-inconsistent-flags'
99
1010# default rules
1111
@@ -162,9 +162,12 @@ doctest: ## Run doctests.
162162doctest-cli :
163163 doctest -D__DOCTEST__ --fast cabal-install/src cabal-install-solver/src cabal-install-solver/src-assertion
164164
165+ # We don't use the cabal-doctest external command but we install it anyway along
166+ # with doctest.
167+ # SEE: https://github.com/haskell/cabal/issues/11493
165168.PHONY : doctest-install
166169doctest-install : # # Install doctest tool needed for running doctests.
167- cabal install doctest --overwrite-policy=always --ignore-project --flag cabal-doctest
170+ cabal install doctest-0.24.3 --overwrite-policy=always --ignore-project --flag cabal-doctest
168171
169172# tests
170173
You can’t perform that action at this time.
0 commit comments