feat: Reader beginning
This commit is contained in:
parent
e90c0a140e
commit
55945adc53
5
Makefile
5
Makefile
@@ -44,9 +44,10 @@ logs: ## Show live logs
|
||||
sh: ## Connect to the FrankenPHP container
|
||||
@$(PHP_CONT) sh
|
||||
|
||||
test: ## Start tests with phpunit, pass the parameter "c=" to add options to phpunit, example: make test c="--group e2e --stop-on-failure"
|
||||
test: ## Start tests with phpunit, pass the parameter "c=" to add options to phpunit, example: make test c="--group e2e --stop-on-failure", or "f=" to specify a test file, example: make test f="ScrapeChapterHandlerTest"
|
||||
@$(eval c ?=)
|
||||
@$(DOCKER_COMP) exec -e APP_ENV=test php bin/phpunit $(c)
|
||||
@$(eval f ?=)
|
||||
@$(DOCKER_COMP) exec -e APP_ENV=test php bin/phpunit $(c) $(if $(f),--filter=$(f),)
|
||||
|
||||
phpmd: ## Start PHP Mess Detector
|
||||
@if ! $(DOCKER_COMP) exec php vendor/bin/phpmd src/ text phpmd.xml -v; then \
|
||||
|
||||
Reference in New Issue
Block a user