grr not all files/directories cleaning

This commit is contained in:
Nabeel Shahzad 2018-01-04 14:58:01 -06:00
parent 93f36ca530
commit f3f9e3043d
5 changed files with 9 additions and 14 deletions

View File

@ -20,9 +20,10 @@ if [ "$TRAVIS" = "true" ]; then
cd $TRAVIS_BUILD_DIR
make clean
echo ""
rm -rf env.php
find ./vendor -type d -name ".git" | xargs rm -rf
find ./vendor -type d -name ".git" -print0 | xargs rm -rf
# Remove any development files
rm -rf .sass-cache

View File

@ -16,13 +16,13 @@ clean:
@php artisan route:clear
@php artisan config:clear
@php artisan view:clear
@find bootstrap/cache -type f -not -name '.gitignore' -print0 -delete
@find storage/app/public -type f -not -name '.gitignore' -print0 -delete
@find storage/app -type f -not -name '.gitignore' -not -name public -print0 -delete
@find storage/framework/cache -type f -not -name '.gitignore' -print0 -delete
@find storage/framework/sessions -type f -not -name '.gitignore' -print0 -delete
@find storage/framework/views -type f -not -name '.gitignore' -print0 -delete
@find storage/logs -type f -not -name '.gitignore' -print0 -delete
@find bootstrap/cache -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf
@find storage/app/public -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf
@find storage/app -type f -not -name '.gitignore' -not -name public -print0 | xargs -0 rm -rf
@find storage/framework/cache -type f -or -type d -not -name '.gitignore' -print0 | xargs -0 rm -rf
@find storage/framework/sessions -type f -or -type d -not -name '.gitignore' -print0 | xargs -0 rm -rf
@find storage/framework/views -type f -or -type d -not -name '.gitignore' -print0 | xargs -0 rm -rf
@find storage/logs -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf
.PHONY: clean-routes
clean-routes:

View File

@ -1,2 +0,0 @@
*
!.gitignore

View File

@ -1,2 +0,0 @@
*
!.gitignore

View File

@ -1,2 +0,0 @@
*
!.gitignore