move version generation so it doesnt recreate some of the cached files

This commit is contained in:
Nabeel Shahzad
2018-01-04 15:17:55 -06:00
parent 15b5290f73
commit 69f242811b
2 changed files with 14 additions and 11 deletions

View File

@@ -17,11 +17,11 @@ clean:
@php artisan config:clear
@php artisan view:clear
@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' -mindepth 1 -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/framework/cache/ -not -name '.gitignore' -mindepth 1 -print0 | xargs -0 rm -rf
@find storage/framework/sessions/ -type f -not -name '.gitignore' -mindepth 1 -print0 | xargs -0 rm -rf
@find storage/framework/views/ -not -name '.gitignore' -mindepth 1 -print0 | xargs -0 rm -rf
@find storage/logs -type f -not -name '.gitignore' -print0 | xargs -0 rm -rf
.PHONY: clean-routes