Skip to content

Commit

Permalink
pass allow-newer to cabal invocations
Browse files Browse the repository at this point in the history
  • Loading branch information
LeventErkok committed Dec 23, 2024
1 parent abd3db0 commit 4bc0e1f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ DOCTESTTIMEOUT = 300
all: quick

quick: tags
@$(TIME) cabal new-install --lib --force-reinstalls
@$(TIME) cabal new-install --lib --allow-newer --force-reinstalls

install: tags
@$(TIME) cabal new-configure --enable-tests --allow-newer --ghc-options=$(CONFIGOPTS)
Expand Down Expand Up @@ -137,10 +137,10 @@ ifdef TGT
ifdef FAST
cabal-docspec --timeout ${DOCTESTTIMEOUT} --module $(basename $(subst /,.,${TGT}))
else
cabal new-run SBVDocTest -- --timeout ${DOCTESTTIMEOUT} --module $(basename $(subst /,.,${TGT}))
cabal new-run SBVDocTest --allow-newer -- --timeout ${DOCTESTTIMEOUT} --module $(basename $(subst /,.,${TGT}))
endif
else
@$(TIME) cabal new-run SBVDocTest -- --timeout ${DOCTESTTIMEOUT}
@$(TIME) cabal new-run SBVDocTest --allow-newer -- --timeout ${DOCTESTTIMEOUT}
endif

test:
Expand Down

0 comments on commit 4bc0e1f

Please sign in to comment.