Fix a few lagging doc references to old-style build+test layout.
This commit is contained in:
parent
bd8dbfb487
commit
2b7da63c66
3 changed files with 5 additions and 4 deletions
4
do
4
do
|
|
@ -66,11 +66,13 @@ case $target in
|
||||||
build && bin/redo $args "$target"
|
build && bin/redo $args "$target"
|
||||||
;;
|
;;
|
||||||
test)
|
test)
|
||||||
# Test both redo and minimal/do
|
# First test minimal/do
|
||||||
build
|
build
|
||||||
|
# Add ./redo to PATH so we launch with redo/sh as the shell
|
||||||
PATH=$PWD/redo:$PATH minimal/do test || die "minimal/do test failed"
|
PATH=$PWD/redo:$PATH minimal/do test || die "minimal/do test failed"
|
||||||
clean
|
clean
|
||||||
build
|
build
|
||||||
|
# Now switch to testing 'real' redo
|
||||||
bin/redo $args test || die "redo test failed"
|
bin/redo $args test || die "redo test failed"
|
||||||
;;
|
;;
|
||||||
clean)
|
clean)
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,10 @@ You can run redo without installing it, like this:
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/apenwarr/redo
|
git clone https://github.com/apenwarr/redo
|
||||||
cd redo
|
cd redo
|
||||||
./redo -j10 test
|
./do -j10 test
|
||||||
```
|
```
|
||||||
|
|
||||||
If the tests pass, you can either add $PWD/redo to your PATH, or install
|
If the tests pass, you can either add $PWD/redo/bin to your PATH, or install
|
||||||
redo on your system. To install for all users, put it in /usr/local:
|
redo on your system. To install for all users, put it in /usr/local:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
|
|
|
||||||
1
test.do
1
test.do
|
|
@ -1,3 +1,2 @@
|
||||||
redo-ifchange bin/all
|
redo-ifchange bin/all
|
||||||
redo minimal/test docs/test t/all _all
|
redo minimal/test docs/test t/all _all
|
||||||
[ -n "$DO_BUILT" ] || echo "Don't forget to test 'minimal/do -c test'" >&2
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue