-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
45 lines (36 loc) · 1.63 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
phpstan:
php -d "memory_limit=-1" vendor/bin/phpstan analyse -c phpstan.neon
test:
vendor/bin/requirements-checker
vendor/bin/monorepo-builder validate
make phpstan
XDEBUG_MODE=coverage vendor/bin/phpunit -v
php -d "memory_limit=-1" vendor/bin/php-cs-fixer check --ansi -vvv
php -d "memory_limit=-1" bin/console lint:twig ./lib/Documents/src/Resources/views
php -d "memory_limit=-1" bin/console lint:twig ./lib/RoadizCoreBundle/templates
php -d "memory_limit=-1" bin/console lint:twig ./lib/RoadizFontBundle/templates
php -d "memory_limit=-1" bin/console lint:twig ./lib/RoadizRozierBundle/templates
php -d "memory_limit=-1" bin/console lint:twig ./lib/RoadizTwoFactorBundle/templates
php -d "memory_limit=-1" bin/console lint:twig ./lib/RoadizUserBundle/templates
php -d "memory_limit=-1" bin/console lint:twig ./lib/Rozier/src/Resources/views
phpunit:
APP_ENV=test docker compose exec app php vendor/bin/phpunit -v
fix:
php -d "memory_limit=-1" vendor/bin/php-cs-fixer fix --ansi -vvv
check:
php -d "memory_limit=-1" vendor/bin/php-cs-fixer check --ansi -vvv
requirements:
vendor/bin/requirements-checker
bash:
docker compose exec app bash --login
cache :
docker compose exec app php bin/console cache:clear
docker compose exec app bin/console cache:pool:clear cache.global_clearer
# Force workers to restart
docker compose exec app php bin/console messenger:stop-workers
migrate:
docker compose exec app php bin/console doctrine:migrations:migrate
docker compose exec app php bin/console app:migrate
update:
docker compose exec app php bin/console doctrine:migrations:migrate -n
docker compose exec app php bin/console app:install