Doit: build-test documentation, too.
Junio C Hamano committed
Sep 6, 2008 at 23:16 UTC
3af0e6709cd053ae1dad602b02a15e55795b4683
1 file changed
+12
-4
Doit
+12
-4
@@ -1,6 +1,6 @@
1
#!/bin/sh
2
3
-: ${J=-j2}
3
+: ${J=-j4}
4
force=
5
while case "$1" in
6
-pedantic) M=$1 ;;
@@ -50,12 +50,20 @@ do
50
echo "** $branch" &&
51
git checkout $branch &&
52
Meta/Make $M -- $J all &&
53
- Meta/Make $M -- test &&
53
+ Meta/Make $M -- $J test &&
54
Meta/Make $M -- install &&
55
+ case "$branch" in
56
+ master | maint | next )
57
+ Meta/Make $M -- doc
58
+ ;;
59
+ jch )
60
+ Meta/Make $M -- doc install-doc
61
+ ;;
62
+ *)
63
+ : ;;
64
+ esac &&
65
Meta/Make clean || exit $?
66
67
done >./:all.log 3>&2 2>&1
68
69
git checkout master
60
-
61
-