]> git.rm.cloudns.org Git - xonotic/xonotic.git/commitdiff
mappingsupport: don't include minimaps and empty scripts and sound directories
authorSpike29 <leguen.yannick@gmail.com>
Fri, 16 Jun 2023 13:32:44 +0000 (15:32 +0200)
committerSpike29 <leguen.yannick@gmail.com>
Fri, 16 Jun 2023 13:32:44 +0000 (15:32 +0200)
misc/tools/all/release.subr

index fb21b4126120557fe03bc66536d725420eab0085..9242619cfd9b5a6bedb161cb8f8f0562011eed6c 100644 (file)
@@ -403,8 +403,8 @@ case "$cmd" in
                release_common
                dir=$1
                verbose cd "$dir"
-               # don't include lightmaps and levelshots from official map builds
-               rm -rf maps
+               # don't include levelshots, lightmaps and minimaps from official map builds, as well as other unneeded folders
+               rm -rf gfx maps scripts sound
                # remove stuff radiant has no use for
                verbose find . -name \*_norm.\* -exec rm -f {} \;
                verbose find . -name \*_bump.\* -exec rm -f {} \;