2
0

Improve clean methods.

This commit is contained in:
Maarten Billemont 2017-04-22 12:20:52 -04:00
parent 15ac7a2dbf
commit 56a515c5ea
2 changed files with 2 additions and 2 deletions

View File

@ -5,4 +5,4 @@ set -e
cd "${BASH_SOURCE%/*}" cd "${BASH_SOURCE%/*}"
rm -vfr lib/*/{.unpacked,.patched,src} lib/include rm -vfr lib/*/{.unpacked,.patched,src} lib/include
rm -vfr {core,cli}{*.o,*.dSYM} mpw mpw-bench mpw-tests rm -vfr {core,cli,.}/{*.o,*.dSYM} mpw mpw-bench mpw-tests

View File

@ -12,7 +12,7 @@ mpwArchive=mpw-$commit.tar.gz
read -n1 -p "Will prepare and release $mpwArchive. Press a key to continue or ^C to abort." read -n1 -p "Will prepare and release $mpwArchive. Press a key to continue or ^C to abort."
echo "Cleaning .." echo "Cleaning .."
./clean ( git clean -fdx . && cd core && git clean -fdx . )
echo "Creating archive $mpwArchive .." echo "Creating archive $mpwArchive .."
git ls-files -z . | xargs -0 tar -Lcvzf "$mpwArchive" git ls-files -z . | xargs -0 tar -Lcvzf "$mpwArchive"