forked from Sylius/Sylius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (29 loc) · 1.41 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
phpunit:
vendor/bin/phpunit
phpspec:
vendor/bin/phpspec run --ansi --no-interaction -f dot
phpstan:
vendor/bin/phpstan analyse
behat-cli:
vendor/bin/behat --colors --strict --no-interaction -vvv -f progress --tags="~@javascript&&@cli&&~@todo" || vendor/bin/behat --colors --strict --no-interaction -vvv -f progress --tags="~@javascript&&@cli&&~@todo" --rerun
behat-non-js:
vendor/bin/behat --colors --strict --no-interaction -vvv -f progress --tags="~@javascript&&~@cli&&~@todo" || vendor/bin/behat --colors --strict --no-interaction -vvv -f progress --tags="~@javascript&&~@cli&&~@todo" --rerun
behat-js:
vendor/bin/behat --colors --strict --no-interaction -vvv -f progress --tags="@javascript&&~@cli&&~@todo" || vendor/bin/behat --colors --strict --no-interaction -vvv -f progress --tags="@javascript&&~@cli&&~@todo" --rerun
install:
composer install --no-interaction --no-scripts
backend:
bin/console doctrine:database:create --no-interaction
bin/console sylius:install --no-interaction
bin/console sylius:fixtures:load default --no-interaction
frontend:
yarn install --pure-lockfile
yarn encore production
behat: behat-cli behat-non-js behat-js
init: install backend frontend
ci: init phpstan phpunit phpspec behat
integration: init phpunit behat-cli behat-non-js
static: install phpspec phpstan
# Example execution: make profile url=https://app
profile:
docker compose exec blackfire blackfire curl -L $(url)