Improve clean methods.
This commit is contained in:
parent
15ac7a2dbf
commit
56a515c5ea
@ -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
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user