6 # I use this in EVERY shell script ;)
11 while ! [ -f ./all ]; do
12 if [ x"`pwd`" = x"/" ]; then
13 echo "Cannot find myself."
14 echo "Please run this script with the working directory inside a Xonotic checkout."
22 # If we are on WINDOWS:
27 # Windows hates users. So this script has to copy itself elsewhere first...
29 cp "$SELF" ../all.xonotic.sh
30 export WE_HATE_OUR_USERS=1
31 exec ../all.xonotic.sh "$@"
42 self=`git hash-object "$SELF"`
45 self_new=`git hash-object "$SELF"`
46 if [ x"$self" != x"$self_new" ]; then
47 msg "./all has changed."
48 if [ -z "$XONOTIC_FORBID_RERUN_ALL" ]; then
49 msg "Rerunning the requested operation to make sure."
50 export XONOTIC_FORBID_RERUN_ALL=1
53 msg "Please try $SELF update, and then retry your requested operation."
70 echo "the root directory"
80 if git ls-files -u | grep ' 1 '; then
82 echo "MERGE CONFLICT."
83 echo "change into the \"$1\" project directory, and then:"
84 echo "- edit the files mentioned above with your favorite editor,"
85 echo " and fix the conflicts (marked with <<<<<<< blocks)"
86 echo "- for binary files, you can select the files using"
87 echo " git checkout --ours or git checkout --theirs"
88 echo "- when done with a file, 'git add' the file"
89 echo "- when done, 'git commit'"
98 while [ x"$yesno" != x"y" -a x"$yesno" != x"n" ]; do
109 check_mergeconflict "$1"
114 data/xonotic-data.pk3dir | | master |
115 data/xonotic-maps.pk3dir | | master |
116 data/xonotic-music.pk3dir | | master |
117 data/xonotic-nexcompat.pk3dir | | master |
118 mediasource | | master |
119 darkplaces | | div0-stable | svn
120 fteqcc | git://github.com/Blub/qclib.git | master |
121 div0-gittools | git://git.icculus.org/divverent/div0-gittools.git | master |
122 netradiant | | master |
124 # todo: in darkplaces, change repobranch to div0-stable
126 repos=`echo "$repos_urls" | grep . | cut -d '|' -f 1 | tr -d ' '`
128 base=`git config remote.origin.url`
131 base=${base%xonotic.git}
134 echo "The main repo is not xonotic.git, what have you done?"
141 repo_t=`echo "$repos_urls" | grep "^$1 " | cut -d '|' -f 2 | tr -d ' '`
142 if [ -n "$repo_t" ]; then
152 if [ x"$1" = x"." ]; then
153 echo "$base""xonotic.git"
155 echo "$base${1##*/}.git"
162 repo_t=`echo "$repos_urls" | grep "^$1 " | cut -d '|' -f 3 | tr -d ' '`
163 if [ -n "$repo_t" ]; then
172 echo "$repos_urls" | grep "^$1 " | cut -d '|' -f 4 | tr -d ' '
175 repos=`for d in $repos; do
177 if [ x"$p" = x"$d" ] || [ -d "$d" ] || ! { [ -f "$d.no" ] || [ -f "$p" ]; }; then
182 if [ "$#" = 0 ]; then
191 if [ x"$1" = x"-N" ]; then
196 branch=`repobranch "$d"`
197 if [ -d "$d0/$d" ]; then
199 enter "$d0/$d" verbose
200 verbose git config remote.origin.url "$url"
201 verbose git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
203 r=`git symbolic-ref HEAD`
205 if git config branch.$r.remote >/dev/null 2>&1; then
206 if ! verbose git pull; then
207 check_mergeconflict "$d"
208 echo "Pulling failed. Press ENTER to continue, or Ctrl-C to abort."
214 checkself "$cmd" "$@"
216 verbose git remote prune origin
220 verbose git clone "$url" "$d0/$d"
221 enter "$d0/$d" verbose
222 if [ "$branch" != "master" ]; then
223 verbose git checkout --track -b "$branch" origin/"$branch"
230 misc/tools/xonotic-map-compiler-autobuild download
235 if [ -z "$branch" ]; then
238 branch=${remote#origin/}
249 enter "$d0/$d" verbose
251 if [ -n "$b" ] && git rev-parse "refs/heads/$b" >/dev/null 2>&1; then
253 verbose git checkout "$b"
254 elif [ -n "$b" ] && git rev-parse "refs/remotes/$remote/$b" >/dev/null 2>&1; then
256 verbose git checkout --track -b "$b" "$remote/$b"
259 if git rev-parse "refs/heads/$b" >/dev/null 2>&1; then
261 verbose git checkout "$b"
262 elif git rev-parse "refs/remotes/$remote/$b" >/dev/null 2>&1; then
264 verbose git checkout --track -b "$b" "$remote/$b"
266 echo "WTF? Not even branch $b doesn't exist in $d"
271 checkself "$cmd" "$@"
275 echo "The requested branch was not found in any repository."
283 if [ -z "$branch" ]; then
287 if [ -z "$branch" ]; then
290 r=`git symbolic-ref HEAD`
297 dv=`visible_repo_name "$d"`
298 enter "$d0/$d" verbose
299 if git rev-parse "refs/heads/$branch" >/dev/null 2>&1; then
300 echo "Already having this branch in $dv."
302 if yesno "Branch in $dv?"; then
303 if [ -n "$srcbranch" ]; then
306 b=origin/"`repobranch "$d"`"
307 verbose git fetch origin || true
309 # TODO do this without pushing
310 verbose git checkout -b "$branch" "$b"
311 verbose git config "branch.$branch.remote" "$remote"
312 verbose git config "branch.$branch.merge" "refs/heads/$branch"
322 cd "$d0/$d" # am in a pipe, shouldn't use enter
323 git branch -a -v -v | cut -c 3- | sed "s,^,$d ,"
328 while read -r d BRANCH REV UPSTREAM TEXT; do
329 if [ x"$BRANCH" = x"`repobranch "$d"`" ]; then
334 UPSTREAM=${UPSTREAM#\[}
335 UPSTREAM=${UPSTREAM%\]}
336 UPSTREAM=${UPSTREAM%:*}
339 TEXT="$UPSTREAM $TEXT"
343 if [ x"$REV" = x"->" ]; then
346 BRANCH=${BRANCH#remotes/}
347 ID=`echo "$BRANCH" | tr -c "A-Za-z0-9." "_"`
348 branches_list="$branches_list $BRANCH" # TEH SORT MAKEZ IT UNIEQ
349 eval "r=\$branches_repos_$ID"
358 eval "branches_repos_$ID=\$r"
360 echo -n "$branches_list" | xargs -n 1 echo | sort -u | while IFS= read -r BRANCH; do
361 ID=`echo "$BRANCH" | tr -c "A-Za-z0-9." "_"`
362 eval "r=\$branches_repos_$ID"
363 printf "%-60s %s\n" "$BRANCH" "$r"
370 dv=`visible_repo_name "$d"`
371 enter "$d0/$d" verbose
372 r=`git symbolic-ref HEAD`
374 if git log HEAD..origin/"`repobranch "$d"`" | grep .; then
375 # we have uncommitted changes
376 if yesno "Could merge from \"`repobranch "$d"`\" into \"$r\" in $dv. Do it?"; then
377 if ! verbose git merge origin/"`repobranch "$d"`"; then
378 check_mergeconflict "$d"
379 exit 1 # this should ALWAYS be fatal
389 dv=`visible_repo_name "$d"`
390 enter "$d0/$d" verbose
391 r=`git symbolic-ref HEAD`
393 diffdata=`git diff --color HEAD`
394 if [ -n "$diffdata" ]; then
395 # we have uncommitted changes
396 if yesno "Uncommitted changes in \"$r\" in $dv. Commit?" 'echo "$diffdata" | less -r'; then
397 verbose git commit -a
400 rem=`git config "branch.$r.remote" || echo origin`
401 bra=`git config "branch.$r.merge" || echo "$r"`
403 if ! git rev-parse "$upstream" >/dev/null 2>&1; then
404 upstream="origin/`repobranch "$d"`"
406 logdata=`git log --color "$upstream".."$r"`
407 if [ -n "$logdata" ]; then
408 if yesno "Push \"$r\" in $dv?" 'echo "$logdata" | less -r'; then
409 verbose git push "$rem" HEAD
412 if [ x"$submit" = x"-s" ]; then
415 verbose git push "$rem" HEAD:"${bra%%/*}/finished/${bra#*/}"
423 if [ -n "$WE_HATE_OUR_USERS" ]; then
424 TARGETS="sv-debug cl-debug"
425 if [ -z "$CC" ]; then
428 elif [ x"`uname`" = x"Darwin" ] && { [ -d /Library/Frameworks/SDL.framework ] || [ -d "$HOME/Library/Frameworks/SDL.framework" ]; }; then
429 # AGL is broken in Snow Leopard, so let's default to SDL if it is available.
430 TARGETS="sv-debug sdl-debug"
432 TARGETS="sv-debug cl-debug sdl-debug"
450 cleanqc=true # version info
458 TARGETS="sdl-debug $TARGETS"
461 TARGETS="cl-debug $TARGETS"
464 TARGETS="sv-debug $TARGETS"
470 if [ -z "$MAKEFLAGS" ]; then
471 if [ -f /proc/cpuinfo ]; then
472 ncpus=$((`grep -c '^processor :' /proc/cpuinfo`+0))
473 if [ $ncpus -gt 1 ]; then
479 MAKEFLAGS="$MAKEFLAGS DP_LINK_TO_LIBJPEG=1"
482 if [ -n "$WE_HATE_OUR_USERS" ]; then
483 MAKEFLAGS="$MAKEFLAGS DP_MAKE_TARGET=mingw"
487 enter "$d0/fteqcc" verbose
489 verbose make $MAKEFLAGS clean
491 verbose make $MAKEFLAGS
493 enter "$d0/data/xonotic-data.pk3dir" verbose
495 verbose make FTEQCC="$d0/fteqcc/fteqcc.bin" "$@" $MAKEFLAGS clean
497 verbose make FTEQCC="$d0/fteqcc/fteqcc.bin" "$@" $MAKEFLAGS
499 enter "$d0/darkplaces" verbose
501 verbose make $MAKEFLAGS clean
503 for T in $TARGETS; do
504 verbose make $MAKEFLAGS "$@" "$T"
507 verbose "$SELF" update-maps
510 if [ -n "$WE_HATE_OUR_USERS" ]; then
512 export PATH="$d0/misc/buildfiles/w32:$PATH"
513 elif [ x"`uname`" = x"Darwin" ]; then
514 export DYLD_LIBRARY_PATH="$d0/misc/buildfiles/osx/Xonotic-SDL.app/Contents/MacOS"
520 sdl|glx|agl|dedicated)
529 if ! [ -x "darkplaces/darkplaces$client" ]; then
530 if [ -x "darkplaces/darkplaces$client.exe" ]; then
533 echo "Client darkplaces/darkplaces$client not found, aborting"
537 set -- "darkplaces/darkplaces$client" -nexuiz -customgamename Xonotic -customgamedirname1 data -customgamedirname2 "" -customgamescreenshotname xonotic -customgameuserdirname xonotic -mygames "$@"
539 # if pulseaudio is running: USE IT
540 if [ -z "$SDL_AUDIODRIVER" ] && ! [ -n "$WE_HATE_OUR_USERS" ] && ! [ x"`uname`" = x"Darwin" ]; then
541 if ps -C pulseaudio >/dev/null; then
542 if ldd /usr/lib/libSDL.so 2>/dev/null | grep pulse >/dev/null; then
543 export SDL_AUDIODRIVER=pulse
548 if [ -n "$USE_GDB" ]; then
549 set -- gdb --args "$@"
555 if [ x"$1" = x"-k" ]; then
560 if verbose cd "$d0/$d"; then
572 patchdir=`mktemp -d -t save-patches.XXXXXX`
574 enter "$d0/$d" verbose
575 git branch -v -v | cut -c 3- | {
577 while read -r BRANCH REV UPSTREAM TEXT; do
580 UPSTREAM=${UPSTREAM#\[}
581 UPSTREAM=${UPSTREAM%\]}
582 UPSTREAM=${UPSTREAM%:*}
586 UPSTREAM=origin/"`repobranch "$d"`"
590 if [ x"$REV" = x"->" ]; then
593 if git format-patch -o "$patchdir/$i" "$UPSTREAM".."$BRANCH"; then
594 echo "$d" > "$patchdir/$i/info.txt"
595 echo "$BRANCH" >> "$patchdir/$i/info.txt"
596 echo "$UPSTREAM" >> "$patchdir/$i/info.txt"
597 echo "$TRACK" >> "$patchdir/$i/info.txt"
600 rm -rf "$patchdir/$i"
605 ( cd "$patchdir" && tar cvzf - . ) > "$outfile"
610 patchdir=`mktemp -d -t restore-patches.XXXXXX`
611 ( cd "$patchdir" && tar xvzf - ) < "$infile"
613 for P in "$patchdir"/*/info.txt; do
620 verbose git checkout HEAD^0
621 verbose git branch -D "$BRANCH"
622 if [ x"$TRACK" = x"true" ]; then
623 verbose git checkout --track -b "$BRANCH" "$UPSTREAM"
625 verbose git branch -b "$BRANCH" "$UPSTREAM"
637 report=$report"$*$LF"
642 report=$report" $*$LF"
647 o=`"$@" | sed 's/^/ /' || true`
651 enter "$d0/$d" verbose
652 base="`repobranch "$d"`"
654 for ref in `git for-each-ref --format='%(refname)' refs/remotes/origin/`; do
655 case "${ref#refs/remotes/origin/}" in
668 if [ -n "$branch" ]; then
669 if [ x"$branch" != x"${ref#refs/remotes/origin/}" ]; then
678 l0=`git rev-list "$base".."$ref" | wc -l`
679 l1=`git rev-list master.."$ref" | wc -l`
680 if [ $l0 -gt $l1 ]; then
687 reportecho " Branch $ref:"
688 note=`GIT_NOTES_REF=refs/notes/admin-merge git notes show "$ref" 2>/dev/null || true`
689 logdata=`git log --color "$realbase".."$ref"`
690 if [ -z "$logdata" ]; then
691 reportecho4 "--> not merging, no changes vs master"
692 if yesno "Branch \"$ref\" probably should get deleted. Do it?" ''; then
693 git push origin :"${ref#refs/remotes/origin/}"
694 reportecho4 "--> branch deleted"
697 diffdata=`git diff --color --find-copies-harder --ignore-space-change "$realbase"..."$ref"`
698 if [ -z "$diffdata" ]; then
699 reportecho4 "--> not merging, no changes vs master, branch contains redundant history"
700 if yesno "Branch \"$ref\" probably should get deleted. Do it?" '{ echo "$logdata"; } | less -r'; then
701 git push origin :"${ref#refs/remotes/origin/}"
702 reportecho4 "--> branch deleted"
704 elif [ -n "$note" ]; then
705 reportdo4 echo "$note"
706 reportecho4 "--> not merging, already had this one rejected before"
707 elif yesno "Branch \"$ref\" may want to get merged. Do it?" '{ echo "$logdata"; echo "$diffdata"; } | less -r'; then
708 git checkout "$realbase"
709 org=`git rev-parse HEAD`
710 if ! git merge "$ref" 2>&1 | tee "$t" && ! { git ls-files -u | grep ' 1 ' >/dev/null; }; then
711 git reset --hard "$org"
712 GIT_NOTES_REF=refs/notes/admin-merge git notes edit -m "Merge failed:$LF`cat "$t"`" "$ref"
714 reportecho4 "--> merge failed"
715 elif ! "$SELF" compile -n 2>&1 | tee "$t"; then
716 git reset --hard "$org"
717 GIT_NOTES_REF=refs/notes/admin-merge git notes edit -m "Compile failed:$LF`cat "$t"`" "$ref"
719 reportecho4 "--> compile failed"
720 elif ! yesno "Still merge \"$ref\" into `git symbolic-ref HEAD` of $d? Maybe you want to test first."; then
721 git reset --hard "$org"
722 git notes edit "$ref"
723 note=`GIT_NOTES_REF=refs/notes/admin-merge git notes show "$ref" 2>/dev/null || true`
724 if [ x"$note" = x"del" ]; then
725 git push origin :"${ref#refs/remotes/origin/}"
726 reportecho4 "--> test failed, branch deleted"
727 elif [ -n "$note" ]; then
728 reportdo4 echo "$note"
729 reportecho4 "--> test failed"
731 reportecho4 "--> test failed, postponed"
735 case ",`repoflags "$d"`," in
737 # we do quite a mess here... luckily we know $org
738 git fetch # svn needs to be current
739 git rebase -i --onto origin/master "$org"
740 git svn dcommit --add-author-from
741 git reset --hard "$org"
747 reportecho4 "--> MERGED"
748 if yesno "Delete original branch \"$ref\"?"; then
749 git push origin :"${ref#refs/remotes/origin/}"
750 reportecho4 "--> branch deleted"
754 GIT_NOTES_REF=refs/notes/admin-merge git notes edit "$ref"
755 note=`GIT_NOTES_REF=refs/notes/admin-merge git notes show "$ref" 2>/dev/null || true`
756 if [ x"$note" = x"del" ]; then
757 git push origin :"${ref#refs/remotes/origin/}"
758 reportecho4 "--> branch deleted"
759 elif [ -n "$note" ]; then
760 reportdo4 echo "$note"
761 reportecho4 "--> rejected"
763 reportecho4 "--> postponed"
772 echo "$report" | ssh nexuiz@rm.endoftheinternet.org cat '>>' public_html/xonotic-merge-notes.txt
775 # release building goes here
777 mkdir -p Xonotic/"$1"
780 #"$SELF" each git clean -fxd
782 "$SELF" release-copy Docs/
783 "$SELF" release-copy misc/
784 "$SELF" release-copy server/
785 "$SELF" release-copy xonotic-linux-glx.sh
786 "$SELF" release-copy xonotic-linux-sdl.sh
787 "$SELF" release-mkdir data
788 "$SELF" release-mkdir fteqcc
791 rsync --exclude=.git -vaSHPAX "$1" Xonotic/"$1"
800 rsync --delete -zvaSHPAX "$srcdir"/ "$host:$buildpath/"
801 ssh "$host" ". ~/.profile && cd $buildpath && make clean $maketargets $makeflags"
802 for f in $targetfiles; do
803 rsync -zvaSHPAX "$host:$buildpath/${f%:*}" "${f##*:}"
809 fteqcc_maketargets=$3
811 darkplaces_maketargets=$5
813 "$SELF" release-compile-run "xonotic-build-$suffix" /tmp/fteqcc.build."$suffix" "$fteqcc_maketargets" "$makeflags" "fteqcc" "$fteqcc_files"
814 "$SELF" release-compile-run "xonotic-build-$suffix" /tmp/Darkplaces.build."$suffix" "$darkplaces_maketargets" "$makeflags" "fteqcc" "$darkplaces_files"
816 release-engine-win32)
817 rsync --exclude=.git -vaSHPAX Xonotic/misc/buildfiles/w32/* Xonotic/
818 "$SELF" release-compile win32 \
819 '"DP_MAKE_TARGET=mingw CC="i586-mingw32msvc-gcc -Wl,--dynamicbase -Wl,--nxcompat -g -DSUPPORTDIRECTX -DUSE_WSPIAPI_H -I$HOME/dp.win32/include -L$HOME/db.win32/lib" WINDRES="i586-mingw32msvc-windres" SDL_CONFIG="$HOME/dp.win32/bin/sdl-config"' \
820 win 'fteqcc.exe:Xonotic/fteqcc/fteqcc.exe' \
821 debug 'darkplaces.exe:xonotic.exe darkplaces-sdl.exe:xonotic-sdl.exe darkplaces-dedicated.exe:xonotic-dedicated.exe'
823 release-engine-win64)
824 rsync --exclude=.git -vaSHPAX Xonotic/misc/buildfiles/w32/* Xonotic/
825 "$SELF" release-compile win32 \
826 '"DP_MAKE_TARGET=mingw CC="amd64-mingw32msvc-gcc -Wl,--dynamicbase -Wl,--nxcompat -g -DSUPPORTDIRECTX -DUSE_WSPIAPI_H -I$HOME/dp.win64/include -L$HOME/db.win64/lib" WINDRES="amd64-mingw32msvc-windres" SDL_CONFIG="$HOME/dp.win64/bin/sdl-config"' \
827 win 'fteqcc.exe:Xonotic/fteqcc/fteqcc.exe' \
828 debug 'darkplaces.exe:xonotic-64.exe darkplaces-sdl.exe:xonotic-sdl-64.exe darkplaces-dedicated.exe:xonotic-dedicated-64.exe'
831 rsync --exclude=.git -vaSHPAX Xonotic/misc/buildfiles/osx/* Xonotic/
832 "$SELF" release-compile osx \
833 'CC="gcc -g -arch i386 -arch ppc -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -I$HOME/dp.osx/include -L$HOME/dp.osx/lib"' \
834 all 'fteqcc.bin:Xonotic/fteqcc/fteqcc.osx' \
835 sdl-debug 'darkplaces-sdl:Xonotic/Xonotic-SDL.app/Contents/MacOS/xonotic-osx-sdl-bin'
837 release-engine-linux32)
838 "$SELF" release-compile linux32 \
839 'CC="gcc -m32 -g -Wl,--hash-style=sysv -I$HOME/dp.linux32/include -L$HOME/dp.linux32/lib" DP_MODPLUG_STATIC_LIBDIR=$HOME/dp.linux32/lib DP_LINK_TO_LIBJPEG=1' \
840 all 'fteqcc.bin:Xonotic/fteqcc/fteqcc.linux32' \
841 debug 'darkplaces-glx:Xonotic/xonotic-linux-linux32-glx darkplaces-sdl:Xonotic/xonotic-linux-linux32-sdl darkplaces-dedicated:Xonotic/xonotic-linux-linux32-dedicated'
843 release-engine-linux64)
844 "$SELF" release-compile linux64 \
845 'CC="gcc -m64 -g -Wl,--hash-style=sysv -I$HOME/dp.linux64/include -L$HOME/dp.linux64/lib" DP_MODPLUG_STATIC_LIBDIR=$HOME/dp.linux64/lib DP_LINK_TO_LIBJPEG=1' \
846 all 'fteqcc.bin:Xonotic/fteqcc/fteqcc.linux64' \
847 debug 'darkplaces-glx:Xonotic/xonotic-linux-linux64-glx darkplaces-sdl:Xonotic/xonotic-linux-linux64-sdl darkplaces-dedicated:Xonotic/xonotic-linux-linux64-dedicated'
850 "$SELF" release-engine-win32 &
851 "$SELF" release-engine-win64 &
852 "$SELF" release-engine-osx &
853 "$SELF" release-engine-linux32 &
854 "$SELF" release-engine-linux64 &
859 for X in data/*-????????????????????????????????????????-????????????????????????????????????????.pk3; do
861 cd Xonotic/data/xonotic-maps.pk3dir
868 # version numnber and stuff like that
871 verbose make -C Xonotic/data/xonotic-data.pk3dir FTEQCC="$d0/Xonotic/fteqcc/fteqcc.linux32" FTEQCCFLAGS_WATERMARK=
873 release-buildpk3-transform-raw)
876 release-buildpk3-transform-normal)
879 # texture: convert to jpeg and dds
881 export jpeg_qual_rgb=95
882 export jpeg_qual_a=99
886 find textures -type f -print0 | xargs -0 "$d0"/misc/tools/cached-converter.sh
888 release-buildpk3-transform-low)
891 # texture: convert to jpeg and dds
892 # music: reduce bitrate
894 export jpeg_qual_rgb=95
895 export jpeg_qual_a=99
899 find textures sound/cdtracks -type f -print0 | xargs -0 "$d0"/misc/tools/cached-converter.sh
913 rsync --exclude=.git -vaSHPAX "$src"/ "Xonotic/temp"
914 "$SELF" release-buildpk3-transform-$transform "Xonotic/temp"
916 zip -9r "../../$dst" . ########### 7za a -tzip -mx=9 "../../$dst" .
923 while [ "$#" -gt 1 ]; do
924 "$SELF" release-buildpk3 "$src" "Xonotic/${src%.pk3dir}$2.pk3" "$1"
930 "$SELF" release-buildpk3s data/font-dejavu.pk3dir raw ''
931 "$SELF" release-buildpk3s data/xonotic-data.pk3dir normal '' raw '-raw' low '-low'
932 "$SELF" release-buildpk3s data/xonotic-maps.pk3dir normal '' raw '-raw' low '-low'
933 "$SELF" release-buildpk3s data/xonotic-music.pk3dir normal '' raw '-raw' low '-low'
934 "$SELF" release-buildpk3s data/xonotic-nexcompat.pk3dir low ''
937 "$SELF" release-prepare
939 "$SELF" release-finish
942 "$SELF" release-engine
948 echo " $SELF push [-s]"
949 echo " $SELF branches"
950 echo " $SELF branch [<remote>] <branchname>"
951 echo " $SELF branch <remote> <branchname> <srcbranchname>"
952 echo " $SELF checkout [<remote>] <branchname>"
953 echo " $SELF compile [-c|-n] [<client>] <options>"
954 echo " $SELF run [<client>] <options>"
955 echo " $SELF each <command>"