some manual cleanup with the Make clean
This commit is contained in:
12
Makefile
12
Makefile
@@ -12,15 +12,21 @@ all: build
|
|||||||
build:
|
build:
|
||||||
@composer install --no-interaction
|
@composer install --no-interaction
|
||||||
@php artisan config:cache
|
@php artisan config:cache
|
||||||
@make db
|
|
||||||
|
|
||||||
.PHONY: install
|
.PHONY: install
|
||||||
install: db
|
install: build db
|
||||||
echo ""
|
echo ""
|
||||||
|
|
||||||
.PHONY: clean
|
.PHONY: clean
|
||||||
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 route:clear
|
||||||
@php artisan config:clear
|
@php artisan config:clear
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user