xonotic/misc/tools/all/config.subr

53 lines
2.0 KiB
Plaintext
Raw Normal View History

2012-03-01 13:09:29 +00:00
devsite_url="http://dev.xonotic.org/"
allrepos()
2012-03-01 13:09:29 +00:00
{
"$@" . xonotic.git master ""
"$@" data/xonotic-data.pk3dir xonotic-data.pk3dir.git master ""
"$@" data/xonotic-music.pk3dir xonotic-music.pk3dir.git master ""
"$@" data/xonotic-nexcompat.pk3dir xonotic-nexcompat.pk3dir.git master "no"
"$@" darkplaces darkplaces.git div0-stable "svn"
"$@" netradiant netradiant.git master ""
"$@" div0-gittools div0-gittools.git master "no"
"$@" d0_blind_id d0_blind_id.git master ""
"$@" data/xonotic-maps.pk3dir xonotic-maps.pk3dir.git master ""
"$@" mediasource mediasource.git master "no"
2012-12-17 11:03:37 +00:00
"$@" gmqcc gmqcc.git master ""
"$@" xonstat xonstat.git master "no"
"$@" xonstatdb xonstatdb.git master "no"
2012-03-01 13:09:29 +00:00
}
allmirrors()
2012-03-01 13:09:29 +00:00
{
"$@" git '' git://git.xonotic.org/xonotic/ ''
"$@" http '' http://git.xonotic.org/xonotic/ ''
"$@" ssh '' ssh://xonotic@git.xonotic.org/ ''
2012-03-01 13:09:29 +00:00
2012-10-26 19:48:20 +00:00
"$@" git us git://us.git.xonotic.org/xonotic/ '*2/3'
"$@" http us http://us.git.xonotic.org/xonotic/ '*2/3'
2012-03-01 13:09:29 +00:00
"$@" git de git://de.git.xonotic.org/xonotic/ ''
"$@" http de http://de.git.xonotic.org/xonotic/ ''
2012-03-01 13:09:29 +00:00
"$@" git nl git://nl.git.xonotic.org/xonotic/ '*2'
"$@" http nl http://nl.git.xonotic.org/xonotic/ '*2'
2012-03-01 13:09:29 +00:00
"$@" ssh push ssh://xonotic@push.git.xonotic.org/ ''
}
2014-01-15 16:01:38 +00:00
have_time=true
measure_time()
{
if $have_time; then
time -p "$@"
else
"$@"
fi
}
if { measure_time sh -c 'true'; } 2>&1 >/dev/null | grep '^user ' >/dev/null; then
msg "Timing via the time utility works."
else
have_time=false
msg "Timing not supported."
2014-01-15 16:01:38 +00:00
fi