mirror of
https://github.com/jbcr/Sylius.git
synced 2026-03-24 00:42:08 +01:00
44 lines
1.4 KiB
Makefile
44 lines
1.4 KiB
Makefile
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=http://app
|
|
profile:
|
|
docker compose exec blackfire blackfire curl -L $(url)
|