grr not all files/directories cleaning
This commit is contained in:
@@ -20,9 +20,10 @@ if [ "$TRAVIS" = "true" ]; then
|
|||||||
cd $TRAVIS_BUILD_DIR
|
cd $TRAVIS_BUILD_DIR
|
||||||
|
|
||||||
make clean
|
make clean
|
||||||
|
echo ""
|
||||||
|
|
||||||
rm -rf env.php
|
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
|
# Remove any development files
|
||||||
rm -rf .sass-cache
|
rm -rf .sass-cache
|
||||||
|
|||||||
14
Makefile
14
Makefile
@@ -16,13 +16,13 @@ clean:
|
|||||||
@php artisan route:clear
|
@php artisan route:clear
|
||||||
@php artisan config:clear
|
@php artisan config:clear
|
||||||
@php artisan view:clear
|
@php artisan view:clear
|
||||||
@find bootstrap/cache -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 -delete
|
@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 -delete
|
@find storage/app -type f -not -name '.gitignore' -not -name public -print0 | xargs -0 rm -rf
|
||||||
@find storage/framework/cache -type f -not -name '.gitignore' -print0 -delete
|
@find storage/framework/cache -type f -or -type d -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
||||||
@find storage/framework/sessions -type f -not -name '.gitignore' -print0 -delete
|
@find storage/framework/sessions -type f -or -type d -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
||||||
@find storage/framework/views -type f -not -name '.gitignore' -print0 -delete
|
@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 -delete
|
@find storage/logs -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
||||||
|
|
||||||
.PHONY: clean-routes
|
.PHONY: clean-routes
|
||||||
clean-routes:
|
clean-routes:
|
||||||
|
|||||||
2
storage/framework/cache/.gitignore
vendored
2
storage/framework/cache/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
||||||
2
storage/framework/sessions/.gitignore
vendored
2
storage/framework/sessions/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
||||||
2
storage/framework/views/.gitignore
vendored
2
storage/framework/views/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
*
|
|
||||||
!.gitignore
|
|
||||||
Reference in New Issue
Block a user