simon-git: bob (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sun Feb 19 09:02:53 GMT 2017


TL;DR:
  c177494 Permit 'with' clauses in ordinary 'do', not just 'do/win'.
  6894428 Permit chained if statements.
  99cf377 New 'error' and 'message' bob commands.

Repository:     https://git.tartarus.org/simon/bob.git
On the web:     https://git.tartarus.org/?p=simon/bob.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2017-02-19 09:02:53

commit c177494f4ffb92bdf2ad1e7ada9497076d9d16dd
web diff https://git.tartarus.org/?p=simon/bob.git;a=commitdiff;h=c177494f4ffb92bdf2ad1e7ada9497076d9d16dd;hp=3c3b8a09c18fcef893ecba5de548fae3ff6b6c47
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Feb 19 08:17:28 2017 +0000

    Permit 'with' clauses in ordinary 'do', not just 'do/win'.
    
    These use config options called 'feature_foo', which distinguishes
    them from 'winfeature_foo' that the do/win version uses.

 bob.but   | 20 ++++++++++++--------
 script.py |  9 ++++++++-
 2 files changed, 20 insertions(+), 9 deletions(-)

commit 68944285a1645b74f13de0746111151a34e8b1c2
web diff https://git.tartarus.org/?p=simon/bob.git;a=commitdiff;h=68944285a1645b74f13de0746111151a34e8b1c2;hp=c177494f4ffb92bdf2ad1e7ada9497076d9d16dd
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Feb 19 08:48:48 2017 +0000

    Permit chained if statements.
    
    This was just an accidental omission from the previous code, because
    it's never come up before. It allows testing of compound conditions
    (implicitly ANDed together), using a command like
    
      ifeq "$(A)" "B" ifneq "$(C)" "D" some-command-run-if-both-are-true

 script.py | 37 ++++++++++++++++++++-----------------
 1 file changed, 20 insertions(+), 17 deletions(-)

commit 99cf3770164f4ac42d44113a56178bf78a857cfa
web diff https://git.tartarus.org/?p=simon/bob.git;a=commitdiff;h=99cf3770164f4ac42d44113a56178bf78a857cfa;hp=68944285a1645b74f13de0746111151a34e8b1c2
Author: Simon Tatham <anakin at pobox.com>
Date:   Sun Feb 19 08:49:04 2017 +0000

    New 'error' and 'message' bob commands.
    
    Permits me to write build scripts that sanity-check their options.
    Useful in particular when combined with the new chained-ifs feature -
    you can use the two together to enforce things like two options being
    mutually exclusive, or one ENABLE_THINGY option depending on a
    WHATNOT_PATH having been provided, or that kind of thing.

 bob.but   | 26 ++++++++++++++++++++++++++
 script.py |  7 +++++++
 2 files changed, 33 insertions(+)



More information about the tartarus-commits mailing list