use -exec rm in travis

This commit is contained in:
Nabeel Shahzad 2018-01-04 15:37:28 -06:00
parent ee08398aed
commit 4c41a1dded

View File

@ -29,8 +29,8 @@ if [ "$TRAVIS" = "true" ]; then
find ./vendor -type d -name ".git" -print0 | xargs rm -rf find ./vendor -type d -name ".git" -print0 | xargs rm -rf
# clear any app specific stuff that might have been loaded in # clear any app specific stuff that might have been loaded in
find storage/app/public -mindepth 1 -not -name '.gitignore' -print0 | xargs -0 rm -rf find storage/app/public -mindepth 1 -not -name '.gitignore' -print0 -exec rm -rf {} +
find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -print0 | xargs -0 rm -rf find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -print0 -exec rm -rf {} +
# Remove any development files # Remove any development files
rm -rf .sass-cache rm -rf .sass-cache