Skip to content

Commit

Permalink
Move _all.do -> all.do and slightly update docs.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
apenwarr committed Dec 31, 2018
1 parent e897c3e commit 22dd0cd
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 18 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand All @@ -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
`[email protected]` (note the plus sign).
9 changes: 0 additions & 9 deletions _all.do

This file was deleted.

11 changes: 9 additions & 2 deletions all.do
Original file line number Diff line number Diff line change
@@ -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
3 changes: 1 addition & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?
Expand Down
2 changes: 1 addition & 1 deletion install.do
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ "$DESTDIR" = "NONE" ]; then
exit 99
fi

redo-ifchange _all redo/whichpython
redo-ifchange all redo/whichpython
read py <redo/whichpython

echo "Installing to: $DESTDIR$PREFIX"
Expand Down
2 changes: 1 addition & 1 deletion test.do
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
redo-ifchange bin/all
redo minimal/test docs/test t/all _all
redo minimal/test docs/test t/all all

0 comments on commit 22dd0cd

Please sign in to comment.