From 22dd0cdd6bf8cdd4fc783260c0f10cca05454163 Mon Sep 17 00:00:00 2001 From: Avery Pennarun Date: Mon, 31 Dec 2018 15:07:18 -0500 Subject: [PATCH] Move _all.do -> all.do and slightly update docs. all.do's main job was to print a "nothing much to do" message after running. Nowadays it actually does do stuff, so we can remove the warning, making _all.do redundant. --- README.md | 6 +++--- _all.do | 9 --------- all.do | 11 +++++++++-- docs/index.md | 3 +-- install.do | 2 +- test.do | 2 +- 6 files changed, 15 insertions(+), 18 deletions(-) delete mode 100644 _all.do diff --git a/README.md b/README.md index dc8e07c..5812b3d 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,8 @@ version, so other people have implemented different variants based on his published specification. This version, sometimes called apenwarr/redo, is probably the most advanced -one, including support for parallel builds, improved logging, and helpful -debugging features. +one, including parallel builds, improved logging, extensive automated tests, +and helpful debugging features. To build and test redo, run `./do -j10 test`. To install it, run `DESTDIR=/tmp/testinstall PREFIX=/usr/local ./do -j10 install`. @@ -19,6 +19,6 @@ To build and test redo, run `./do -j10 test`. To install it, run - View the [documentation](https://redo.rtfd.io) via readthedocs.org - Visit the [source code](https://github.com/apenwarr/redo) on github - Discussions and support via the - [mailing list](https://groups.google.com/group/redo-list). + mailing list ([archives](https://groups.google.com/group/redo-list)). You can subscribe by sending any email message to `redo-list+subscribe@googlegroups.com` (note the plus sign). diff --git a/_all.do b/_all.do deleted file mode 100644 index becd87f..0000000 --- a/_all.do +++ /dev/null @@ -1,9 +0,0 @@ -if [ "$1,$2" != "_all,_all" ]; then - echo "ERROR: old-style redo args detected: don't use --old-args." >&2 - exit 1 -fi - -# Do this first, to ensure we're using a good shell -redo-ifchange redo/sh - -redo-ifchange bin/all docs/all diff --git a/all.do b/all.do index d8350e6..b7ce9da 100644 --- a/all.do +++ b/all.do @@ -1,2 +1,9 @@ -redo-ifchange _all -echo "Nothing much to do. Try 'bin/redo -j10 test'" >&2 +if [ "$1,$2" != "all,all" ]; then + echo "ERROR: old-style redo args detected: don't use --old-args." >&2 + exit 1 +fi + +# Do this first, to ensure we're using a good shell +redo-ifchange redo/sh + +redo-ifchange bin/all docs/all diff --git a/docs/index.md b/docs/index.md index 713d818..940af12 100644 --- a/docs/index.md +++ b/docs/index.md @@ -33,8 +33,7 @@ easier that way. I also provide an extremely minimal pure-POSIX-sh implementation, called `do`, in the `minimal/` directory of this repository. -(Want to discuss redo? See the bottom of this file for -information about our mailing list.) +(Want to discuss redo? Join [our mailing list](Contributing/#mailing-list).) # What's so special about redo? diff --git a/install.do b/install.do index de35ff1..15ebbac 100644 --- a/install.do +++ b/install.do @@ -13,7 +13,7 @@ if [ "$DESTDIR" = "NONE" ]; then exit 99 fi -redo-ifchange _all redo/whichpython +redo-ifchange all redo/whichpython read py