projects
/
git.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Simplify maintainer local test & installation script.
[git.git]
/
Doit
1
#!/bin/sh
2
3
J='-l 2.5 -j'
4
5
test -z "$(git diff --cached --name-status)" || {
6
echo >&2 "Repository unclean."
7
exit 1
8
}
9
10
nstall=install
11
for branch in naster master maint pu
12
do
13
rm -f ./:$branch.log &&
14
if git rev-parse --verify refs/heads/$branch 2>/dev/null
15
then
16
echo "* $branch" &&
17
git checkout $branch || break
18
{
19
make $J $nstall &&
20
make test &&
21
make clean
22
} >./:$branch.log &&
23
nstall=all || exit $?
24
else
25
echo "* No $branch"
26
fi
27
done