compile script
authorxonotic <xonotic@git.xonotic.org>
Wed, 24 Mar 2010 12:11:30 +0000 (13:11 +0100)
committerxonotic <xonotic@git.xonotic.org>
Wed, 24 Mar 2010 12:11:30 +0000 (13:11 +0100)
all

diff --git a/all b/all
index 78102fe060bb2879ead19b201d11fcaf4f073bd8..ee90e917949d083a6b609bb6bca3d7e3ac1fd22a 100755 (executable)
--- a/all
+++ b/all
@@ -98,7 +98,7 @@ case "$cmd" in
                for d in $repos; do
                        cd "$d0/$d"
                        echo "In $d:"
-                       git branch -a | sed 's/^/  /'
+                       git branch -a | sed 's/^/  /; /->/d'
                        cd "$d0"
                done
                ;;
@@ -120,6 +120,16 @@ case "$cmd" in
                        cd "$d0"
                done
                ;;
+       compile)
+               (
+                       cd darkplaces
+                       make nexuiz
+               )
+               (
+                       cd data/xonotic-data.pk3dir
+                       make
+               )
+               ;;
        *)
                echo "Usage:"
                echo "  $0 pull"