Docs/cookbook: build from toplevel 'test' instead of toplevel 'all'.
The cookbook examples are interesting as redo tests, but don't need to be built in order to build redo.
This commit is contained in:
parent
caa86ac4bd
commit
461ef57b26
3 changed files with 6 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
redo-ifchange doc.list cookbook/all
|
||||
redo-ifchange doc.list
|
||||
sed 's/\.md/.1/' <doc.list |
|
||||
xargs redo-ifchange
|
||||
|
||||
|
|
|
|||
4
Documentation/test.do
Normal file
4
Documentation/test.do
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
# We don't normally build the cookbook examples, because they're
|
||||
# not really part of redo itself. But build them when testing,
|
||||
# as a basic check that redo (and the examples) are valid.
|
||||
redo cookbook/all
|
||||
2
test.do
2
test.do
|
|
@ -1,3 +1,3 @@
|
|||
redo-ifchange _all
|
||||
redo minimal/test t/all
|
||||
redo minimal/test Documentation/test t/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