simon-git: bob (master): Simon Tatham
Commits to Tartarus hosted VCS
tartarus-commits at lists.tartarus.org
Sat Aug 26 07:12:56 BST 2017
TL;DR:
78a24bc New bob command 'mkdir' (implicitly, -p).
f8e2064 Remove an outdated parenthesis in documentation.
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-08-26 07:12:56
commit 78a24bca4bdef644b88a51e7abe941cdbf7a9722
web diff https://git.tartarus.org/?p=simon/bob.git;a=commitdiff;h=78a24bca4bdef644b88a51e7abe941cdbf7a9722;hp=27c1e03dd4d92360ae6ee3c136ed2757bd4ca33d
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Aug 26 07:02:15 2017 +0100
New bob command 'mkdir' (implicitly, -p).
This differs importantly from 'in <dir> do mkdir <subdir>' in that
plain mkdir is legal in a configuration file, so you can assign global
config directories such as $(workdir) to locations that might not
exist (e.g. on regularly cleaned filesystems), and be assured that if
they don't exist, bob will create them again whenever necessary.
bob.but | 23 +++++++++++++++++++++++
parse.py | 26 ++++++++++++++++++++++++++
2 files changed, 49 insertions(+)
commit f8e20640d69a8e477f9c921e4d2cdcec4c95ea5b
web diff https://git.tartarus.org/?p=simon/bob.git;a=commitdiff;h=f8e20640d69a8e477f9c921e4d2cdcec4c95ea5b;hp=78a24bca4bdef644b88a51e7abe941cdbf7a9722
Author: Simon Tatham <anakin at pobox.com>
Date: Sat Aug 26 07:10:15 2017 +0100
Remove an outdated parenthesis in documentation.
Originally, the keyword 'do' in the syntax 'in DIR do COMMAND' was
more or less redundant; there was no reason I couldn't have made the
syntax simply 'in DIR COMMAND', and found the start of COMMAND by
counting words. That would have been terser, so I wrote an aside in
the docs apologising for not having done it.
But it turns out that I had a good idea after all (though I can't
remember whether I had anything remotely like this in mind). I've
since introduced the syntax 'in DIR with FEATURE do COMMAND', so now
the 'do' _is_ performing a useful syntactic function after all, in
that it tells you whether a 'with' clause is coming next or not. So I
retract my apology.
bob.but | 4 ----
1 file changed, 4 deletions(-)
More information about the tartarus-commits
mailing list