move -mindepth options
This commit is contained in:
@@ -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 -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
find storage/app/public -mindepth 1 -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
||||||
find storage/app -not -name '.gitignore' -not -name public -print0 | xargs -0 rm -rf
|
find storage/app -mindepth 1 -not -name '.gitignore' -not -name public -print0 | xargs -0 rm -rf
|
||||||
|
|
||||||
# Remove any development files
|
# Remove any development files
|
||||||
rm -rf .sass-cache
|
rm -rf .sass-cache
|
||||||
|
|||||||
8
Makefile
8
Makefile
@@ -18,11 +18,11 @@ clean:
|
|||||||
@php artisan view:clear
|
@php artisan view:clear
|
||||||
@find bootstrap/cache -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
@find bootstrap/cache -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
||||||
|
|
||||||
@find storage/framework/cache/ -not -name '.gitignore' -mindepth 1 -print0 | xargs -0 rm -rf
|
@find storage/framework/cache/ -mindepth 1 -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
||||||
@find storage/framework/sessions/ -type f -not -name '.gitignore' -mindepth 1 -print0 | xargs -0 rm -rf
|
@find storage/framework/sessions/ -mindepth 1 -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
||||||
@find storage/framework/views/ -not -name '.gitignore' -mindepth 1 -print0 | xargs -0 rm -rf
|
@find storage/framework/views/ -mindepth 1 -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
||||||
|
|
||||||
@find storage/logs -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
@find storage/logs -mindepth 1 -not -name '.gitignore' -print0 | xargs -0 rm -rf
|
||||||
|
|
||||||
.PHONY: clean-routes
|
.PHONY: clean-routes
|
||||||
clean-routes:
|
clean-routes:
|
||||||
|
|||||||
Reference in New Issue
Block a user