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
@@ -157,9 +157,12 @@ doctest: ## Run doctests.
157157 cd cabal-install-solver && $(DOCTEST )
158158 cd cabal-install && $(DOCTEST )
159159
160+ # We don't use the cabal-doctest external command but we install it anyway along
161+ # with doctest.
162+ # SEE: https://github.com/haskell/cabal/issues/11493
160163.PHONY : doctest-install
161164doctest-install : # # Install doctest tool needed for running doctests.
162- cabal install doctest --overwrite-policy=always --ignore-project --flag cabal-doctest
165+ cabal install doctest-0.24.3 --overwrite-policy=always --ignore-project --flag cabal-doctest
163166
164167# tests
165168
You can’t perform that action at this time.
0 commit comments