-B, --always-make gone?

9 views
Skip to first unread message

Andreas Reuleaux

unread,
Jul 4, 2018, 7:19:16 PM7/4/18
to shake-bui...@googlegroups.com
Sorry if thas has been discussed maybe, but I cannot see anything
mentioned in the changelog

http://hackage.haskell.org/package/shake-0.16.4/changelog

My old shake 0.15.11 allowed a command line option

-B, --always-make Unconditionally make all targets.

that was very useful at times, but seems to have gone in shake 0.16.4.

Any suggestions how to get the old -B behaviour ?

Thanks,
Andreas



Neil Mitchell

unread,
Jul 5, 2018, 5:23:04 AM7/5/18
to Andreas Reuleaux, Shake build system
Hi Andreas,

This part of the Shake was rewritten quite extensively in the 0.16
release, sorry I didn't call out what flags were disappearing (an
oversight).

You can get the same effect with `--rebuild`, which also lets you take
arguments saying what to rebuild, if that's interesting to you - a
simple --rebuild should match the old always-make.

The reason for redoing these flags was the old Make flags (which is
what Shake was modelled on) turned out to be specified in very
make-like terms, so were hard to find a good Shake semantics for. The
new rebuild/no-rebuild flags should hopefully cause less confusion and
work more reliably.

Thanks, Neil

Andreas Reuleaux

unread,
Jul 5, 2018, 9:57:12 AM7/5/18
to shake-bui...@googlegroups.com
Hi Neil,

OK, I see, thanks a lot.

-Andreas
Reply all
Reply to author
Forward
0 new messages