-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #155 from loic425/features/makefile
Makefile
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,6 +22,8 @@ | |
/behat.yml | ||
/phpspec.yml | ||
|
||
Makefile | ||
|
||
###> symfony/framework-bundle ### | ||
/.env.*.local | ||
/.env.local | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
TAGS?=~todo | ||
|
||
build-docs: | ||
cd docs && sphinx-build -b html . build -a | ||
|
||
install: | ||
composer install --no-interaction | ||
bin/console app:install -n | ||
bin/console sylius:fixtures:load -n | ||
yarn install && yarn build | ||
|
||
load-fixtures: | ||
bin/console sylius:fixtures:load default --no-interaction | ||
|
||
test-behat: | ||
APP_ENV=test vendor/bin/behat --tags=${TAGS} ${ARGS} | ||
|
||
test-behat-without-javascript: | ||
APP_ENV=test vendor/bin/behat --tags=~javascript --tags=${TAGS} | ||
|
||
test-behat-with-cli: | ||
APP_ENV=test vendor/bin/behat --tags=cli --tags=${TAGS} | ||
|
||
test-infection: | ||
phpdbg -qrr vendor/bin/infection ${ARGS} | ||
|
||
test-phpspec: | ||
phpdbg -qrr vendor/bin/phpspec run -n ${ARGS} | ||
|
||
test-phpstan:: | ||
APP_ENV=dev bin/console cache:clear | ||
APP_ENV=dev bin/console cache:warmup | ||
vendor/bin/phpstan analyse -c phpstan.neon -l 1 src | ||
|
||
test-phpunit: | ||
APP_ENV=test vendor/bin/phpunit ${ARGS} | ||
|
||
start: | ||
bin/console server:start ${ARGS} | ||
|
||
stop: | ||
bin/console server:stop |