minimal/do: add support for -x -v -d -c options.
-x, -v, and -d are the same as redo.
-c means "continuable", which disables the feature that deletes (and
forgets) all targets at the start of each run. This is a little risky,
since minimal/do still doesn't understand dependencies, but it allows
you to run minimal/do several times in succession, so that
minimal/do -c a
minimal/do -c b
is the same as
minimal/do a b
This commit is contained in:
parent
f345eae290
commit
0fc2e46708
2 changed files with 47 additions and 15 deletions
|
|
@ -33,7 +33,7 @@ If you've ever thought about rewriting GNU make from scratch, the idea of
|
|||
doing it in 250 lines of shell script probably didn't occur to you. redo is
|
||||
so simple that it's actually possible. For testing, I actually wrote an
|
||||
even more minimal version, which always rebuilds everything instead of
|
||||
checking dependencies, in 150 lines of shell (about 3 kbytes).
|
||||
checking dependencies, in 210 lines of shell (about 4 kbytes).
|
||||
|
||||
The design is simply that good.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue