Skip to content

Commit

Permalink
[ refactor for #265 ] doctests: don't rely on Library section in caba…
Browse files Browse the repository at this point in the history
…l file

The include paths given to GHCI for running the doctests are more
stable by using dist/build/bnfc-doctests/autogen/ instead of
dist/build/autogen/ which is only present if BNFC is also a library.
  • Loading branch information
andreasabel committed Oct 26, 2020
1 parent 7dbfc69 commit 97132aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/test/doctests.hs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Test.DocTest
main = doctest
[ "-icompat"
, "-isrc"
, "-idist/build/autogen/"
, "-idist/build/bnfc-doctests/autogen/"
, "-idist/build/bnfc/bnfc-tmp"
, "-XLambdaCase"
, "-XFlexibleContexts"
Expand Down

0 comments on commit 97132aa

Please sign in to comment.