]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - all
./all clean
[xonotic/xonotic.git] / all
diff --git a/all b/all
index 30b06eb32df415bed1e339a616d90d7b4118eaef..bda0c655413daf6142961b7b98762cf5a8a08c21 100755 (executable)
--- a/all
+++ b/all
@@ -856,6 +856,19 @@ case "$cmd" in
                rm -f "$t"
                echo "$report" | ssh nexuiz@rm.endoftheinternet.org cat '>>' public_html/xonotic-merge-notes.txt
                ;;
+       clean)
+               for d in $repos; do
+                       enter "$d0/$d" verbose
+                       case "$d" in
+                               .)
+                                       git clean -df
+                                       ;;
+                               *)
+                                       git clean -xdf
+                                       ;;
+                       esac
+               done
+               ;;
 
        # release building goes here
        release-prepare)