From ca2145ddea2626948e30c4969889a1f7319ec9ab Mon Sep 17 00:00:00 2001 From: alex-chevski Date: Wed, 29 Nov 2023 17:09:48 +0300 Subject: [PATCH] Added command fix-code-style --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 21fe02f..86f184d 100644 --- a/Makefile +++ b/Makefile @@ -22,7 +22,13 @@ copy-infra-env: run-migrations: docker-compose exec php-fpm ./artisan migrate -init: clone copy-infra-env compose-down compose-up setup-laravel-packages copy-laravel-env setup-laravel-key run-migrations +fix-permissions: + docker-compose exec php-fpm chown -R www-data:www-data storage + +lint-code-style: + docker-compose exec php-fpm composer php-cs-fixer fix + +init: clone copy-infra-env compose-down compose-up setup-laravel-packages copy-laravel-env setup-laravel-key run-migrations fix-permissions