start of a release build system (doesn't do much yet)

This commit is contained in:
Rudolf Polzer 2010-06-17 14:53:28 +02:00
parent 61260f1659
commit 06a486bda5

49
all
View File

@ -501,6 +501,9 @@ case "$cmd" in
verbose make $MAKEFLAGS "$@" "$T"
done
verbose "$SELF" update-maps
;;
makebuild)
;;
run)
if [ -n "$WE_HATE_OUR_USERS" ]; then
@ -748,6 +751,52 @@ case "$cmd" in
rm -f "$t"
echo "$report" | ssh nexuiz@rm.endoftheinternet.org cat '>>' public_html/xonotic-merge-notes.txt
;;
# release building goes here
release-mkdir)
mkdir -p Xonotic/"$1"
;;
release-prepare)
"$SELF" each git clean -fxd
mkdir -p Xonotic
"$SELF" release-copy Docs/
"$SELF" release-copy misc/
"$SELF" release-copy server/
"$SELF" release-copy xonotic-linux-glx.sh
"$SELF" release-copy xonotic-linux-sdl.sh
"$SELF" release-mkdir data
;;
release-gamedata)
"$SELF" release-copy data/font-dejavu.pk3dir/
"$SELF" release-copy data/xonotic-data.pk3dir/
"$SELF" release-copy data/xonotic-maps.pk3dir/
"$SELF" release-copy data/xonotic-music.pk3dir/
"$SELF" release-copy data/xonotic-nexcompat.pk3dir/
;;
release-copy)
rsync --exclude=.git -vaSHPAX "$1" Xonotic/"$1"
;;
release-engine)
mv Xonotic/misc/buildfiles/w32/* Xonotic/
mv Xonotic/misc/buildfiles/osx/* Xonotic/
;;
release-pack)
# recompress, and edit
;;
release-maps)
"$SELF" update-maps
;;
release-finish)
;;
release)
"$SELF" release-prepare
"$SELF" release-engine
"$SELF" release-gamedata
"$SELF" release-maps
"$SELF" release-finish
"$SELF" release-pack
;;
*)
echo "Usage:"
echo " $SELF pull"