Updated autobuilder to Mercurial.

This commit is contained in:
rude
2009-08-30 14:12:49 +02:00
parent 8d666d0284
commit b4bf2c0595
4 changed files with 24 additions and 22 deletions
Regular → Executable
+3 -3
View File
@@ -26,11 +26,11 @@ case "$1" in
;;
src )
cd ../../../
tar -czf love/platform/unix/love-$2-src.tar.gz --exclude=.svn love/demos/* love/*.txt love/makefile-ancient love/src/ && \
tar -czf love/platform/unix/love-$2-src.tar.gz --exclude=*.o --exclude=.* love/demos/* love/*.txt love/src/ && \
echo " * love-$2-src.tar.gz created"
tar -cjf love/platform/unix/love-$2-src.tar.bz2 --exclude=.svn love/demos/* love/*.txt love/makefile-ancient love/src/ && \
tar -cjf love/platform/unix/love-$2-src.tar.bz2 --exclude=*.o --exclude=.* love/demos/* love/*.txt love/src/ && \
echo " * love-$2-src.tar.bz2 created"
zip -9q love/platform/unix/love-$2-src.zip love/*.txt love/demos/* love/makefile-ancient `find love/src/* | grep -viE svn` && \
zip -9q love/platform/unix/love-$2-src.zip love/*.txt love/demos/* `find love/src/* | grep -viE *.o` && \
echo " * love-$2-src.zip created"
;;
* )