From 281c72bcf61ec90a0555b1f00157f0cd3170375a Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Tue, 5 Dec 2017 21:39:27 -0600 Subject: [PATCH] some manual cleanup with the Make clean --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4aa35720..80753121 100644 --- a/Makefile +++ b/Makefile @@ -12,15 +12,21 @@ all: build build: @composer install --no-interaction @php artisan config:cache - @make db .PHONY: install -install: db +install: build db echo "" .PHONY: clean clean: - @php artisan cache:clear + @find bootstrap/cache -type f -not -name '.gitignore' -print0 | xargs -0 rm -- + @find storage/app/public -type f -not -name '.gitignore' -print0 | xargs -0 rm -- + @find storage/app -type f -not -name '.gitignore' -not -name public -print0 | xargs -0 rm -- + @find storage/framework/cache -type f -not -name '.gitignore' -print0 | xargs -0 rm -- + @find storage/framework/sessions -type f -not -name '.gitignore' -print0 | xargs -0 rm -- + @find storage/framework/views -type f -not -name '.gitignore' -print0 | xargs -0 rm -- + @find storage/logs -type f -not -name '.gitignore' -print0 | xargs -0 rm -- + @composer dump-autoload @php artisan route:clear @php artisan config:clear