git/Doit
2020-03-09 20:19:17 -07:00

21 lines
491 B
Bash
Executable File

#!/bin/sh
test -n "$branches" || branches='next master maint jch pu'
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 -j32 &&
Meta/Dothem -j32 --dash --branches="$changed" --scratch --force CC=clang