-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
39 lines (32 loc) · 1.43 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
cache:
docker compose exec app php bin/console cache:clear
docker compose exec app php bin/console cache:pool:clear cache.global_clearer
# Stop workers to force restart them (Supervisord)
docker compose exec app php bin/console messenger:stop-workers
test:
docker compose exec app php -d "memory_limit=-1" vendor/bin/php-cs-fixer fix --ansi -vvv
docker compose exec app php -d "memory_limit=-1" vendor/bin/phpstan analyse -c phpstan.neon
XDEBUG_MODE=coverage php -d "memory_limit=-1" vendor/bin/phpunit
update:
docker compose exec app php bin/console doctrine:migrations:migrate -n
# Do not perform files changes just apply existing migrations and import data
docker compose exec app php bin/console app:install -n
make cache;
update_deps:
docker compose run --rm --entrypoint= app composer update -o
migrate:
docker compose exec app php bin/console doctrine:migrations:migrate -n
# Apply files changes and create new Doctrine migrations if necessary
docker compose exec app php bin/console app:migrate
# Stop workers to force restart them (Supervisord)
docker compose exec app php bin/console messenger:stop-workers
install:
docker compose exec app php bin/console doctrine:migrations:migrate -n
# Do not perform files changes on the database
docker compose exec app php bin/console app:install -n
docker compose exec app bin/console install;
make cache;
changelog:
git-cliff -o CHANGELOG.md
bump:
git-cliff --bump -o CHANGELOG.md