aboutsummaryrefslogtreecommitdiffstats
path: root/Doit
blob: 4a5ae8a202d6fc4b964b113cc905171b295cdf10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

MASTER=master

test -n "$branches" || branches="next $MASTER maint jch seen"

changed=
for b in $branches
do
	installed=$(rungit "$b" version) &&
	installed=${installed##* } &&
	case "$installed" in
	*-g*) installed=$(git describe "$installed") ;;
	*)    installed=$(git describe "v$installed") ;;
	esac &&
	latest=$(git describe "$b") &&
	test "z$latest" = "z$installed" ||
	changed="$changed $b"
done

Meta/Dothem -j8 &&
Meta/Dothem -j8 --dash --branches="$changed" --scratch --force CC=clang