-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
28 lines (24 loc) · 823 Bytes
/
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
docker-prepare:
php composer.phar install
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate
run:
php7.4 bin/console cache:clear
php7.4 -S localhost:8000 -t public
first-run:
php7.4 composer.phar install
php7.4 bin/console doctrine:database:create
php7.4 bin/console doctrine:migrations:migrate
make run
phpunit:
php7.4 bin/console cache:clear --env=test
php7.4 bin/console doctrine:database:drop --env=test --if-exists --force
php7.4 bin/console doctrine:database:create --env=test --if-not-exists
php7.4 bin/console doctrine:schema:update --env=test --force
php7.4 vendor/bin/phpunit tests/*
php7.4 bin/console doctrine:database:drop --env=test --force
check-syntax:
make phpunit
php7.4 vendor/bin/phplint
php7.4 vendor/bin/phpstan analyse
php7.4 vendor/bin/phpcs