Skip to content

Commit 22dd0cd

Browse files
committed
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.
1 parent e897c3e commit 22dd0cd

File tree

6 files changed

+15
-18
lines changed

6 files changed

+15
-18
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ version, so other people have implemented different variants based on his
88
published specification.
99

1010
This version, sometimes called apenwarr/redo, is probably the most advanced
11-
one, including support for parallel builds, improved logging, and helpful
12-
debugging features.
11+
one, including parallel builds, improved logging, extensive automated tests,
12+
and helpful debugging features.
1313

1414
To build and test redo, run `./do -j10 test`. To install it, run
1515
`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
1919
- View the [documentation](https://redo.rtfd.io) via readthedocs.org
2020
- Visit the [source code](https://github.com/apenwarr/redo) on github
2121
- Discussions and support via the
22-
[mailing list](https://groups.google.com/group/redo-list).
22+
mailing list ([archives](https://groups.google.com/group/redo-list)).
2323
You can subscribe by sending any email message to
2424
`[email protected]` (note the plus sign).

_all.do

-9
This file was deleted.

all.do

+9-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,9 @@
1-
redo-ifchange _all
2-
echo "Nothing much to do. Try 'bin/redo -j10 test'" >&2
1+
if [ "$1,$2" != "all,all" ]; then
2+
echo "ERROR: old-style redo args detected: don't use --old-args." >&2
3+
exit 1
4+
fi
5+
6+
# Do this first, to ensure we're using a good shell
7+
redo-ifchange redo/sh
8+
9+
redo-ifchange bin/all docs/all

docs/index.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ easier that way.
3333
I also provide an extremely minimal pure-POSIX-sh implementation, called
3434
`do`, in the `minimal/` directory of this repository.
3535

36-
(Want to discuss redo? See the bottom of this file for
37-
information about our mailing list.)
36+
(Want to discuss redo? Join [our mailing list](Contributing/#mailing-list).)
3837

3938

4039
# What's so special about redo?

install.do

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ if [ "$DESTDIR" = "NONE" ]; then
1313
exit 99
1414
fi
1515

16-
redo-ifchange _all redo/whichpython
16+
redo-ifchange all redo/whichpython
1717
read py <redo/whichpython
1818

1919
echo "Installing to: $DESTDIR$PREFIX"

test.do

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
redo-ifchange bin/all
2-
redo minimal/test docs/test t/all _all
2+
redo minimal/test docs/test t/all all

0 commit comments

Comments
 (0)