[TESTS][TOOLS] Clarify make target names
This commit is contained in:
parent
334de7c739
commit
5829e77edd
23
Makefile
23
Makefile
|
@ -36,28 +36,31 @@ database-force-nuke:
|
||||||
database-force-schema-update:
|
database-force-schema-update:
|
||||||
docker exec -it $(call translate-container-name,$(strip $(DIR))_php_1) sh -c "/var/www/social/bin/console doctrine:schema:update --dump-sql --force"
|
docker exec -it $(call translate-container-name,$(strip $(DIR))_php_1) sh -c "/var/www/social/bin/console doctrine:schema:update --dump-sql --force"
|
||||||
|
|
||||||
tooling-docker: .PHONY
|
tooling-docker-up: .PHONY
|
||||||
@sh -c 'if [ ! docker container inspect $(call translate-container-name,tooling_php_1) > /dev/null 2>&1 ]; then cd docker/tooling && docker-compose up -d --build > /dev/null 2>&1; fi'
|
@sh -c 'if [ ! docker container inspect $(call translate-container-name,tooling_php_1) > /dev/null 2>&1 ]; then cd docker/tooling && docker-compose up -d --build > /dev/null 2>&1; fi'
|
||||||
|
|
||||||
stop-tooling: .PHONY
|
tooling-docker-down: .PHONY
|
||||||
cd docker/tooling && docker-compose down
|
cd docker/tooling && docker-compose down
|
||||||
|
|
||||||
tooling-php-shell: tooling-docker
|
test: tooling-docker-up
|
||||||
|
@docker exec $(call translate-container-name,tooling_php_1) /var/tooling/coverage.sh $(call args,'')
|
||||||
|
|
||||||
|
test-database-force-nuke: tooling-docker-up
|
||||||
|
docker exec -it $(call translate-container-name,tooling_php_1) sh -c 'cd /var/www/social; bin/console doctrine:database:drop --force'
|
||||||
|
|
||||||
|
tooling-php-shell: tooling-docker-up
|
||||||
docker exec -it $(call translate-container-name,tooling_php_1) sh
|
docker exec -it $(call translate-container-name,tooling_php_1) sh
|
||||||
|
|
||||||
test-accesibility: tooling-docker
|
test-accesibility: tooling-docker-up
|
||||||
cd docker/tooling && docker-compose run pa11y /accessibility.sh
|
cd docker/tooling && docker-compose run pa11y /accessibility.sh
|
||||||
|
|
||||||
test: tooling-docker
|
cs-fixer: tooling-docker-up
|
||||||
docker exec $(call translate-container-name,tooling_php_1) /var/tooling/coverage.sh $(call args,'')
|
|
||||||
|
|
||||||
cs-fixer: tooling-docker
|
|
||||||
@bin/php-cs-fixer $${CS_FIXER_FILE}
|
@bin/php-cs-fixer $${CS_FIXER_FILE}
|
||||||
|
|
||||||
doc-check: tooling-docker
|
doc-check: tooling-docker-up
|
||||||
bin/php-doc-check
|
bin/php-doc-check
|
||||||
|
|
||||||
phpstan: tooling-docker
|
phpstan: tooling-docker-up
|
||||||
bin/phpstan
|
bin/phpstan
|
||||||
|
|
||||||
remove-var:
|
remove-var:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user