Skip to content

Commit

Permalink
Add doctest to --PROG-option
Browse files Browse the repository at this point in the history
  • Loading branch information
mpilgrem committed Oct 7, 2023
1 parent 68f64ea commit 3eed62b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ Other enhancements:
the newly-created project for use with Stack.
* The HTML file paths produced at the end of `stack haddock` are printed on
separate lines and without a trailing dot.
* Add option of the form `--doctest-option=<argument>` to `stack build`, where
`doctest` is a program recognised by versions of the Cabal library from
`1.24.0.0`.

Bug fixes:

Expand Down
2 changes: 1 addition & 1 deletion src/Stack/Options/BuildParser.hs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ progsOptionsParser =
, "alex"
, "c2hs"
, "cpphs"
-- , "doctest -- Not present in Cabal-1.22.5.0.
, "doctest"
, "greencard"
, "happy"
, "hsc2hs"
Expand Down

0 comments on commit 3eed62b

Please sign in to comment.