1
0
mirror of synced 2024-11-24 20:56:03 +03:00
mg-bot-api-client-php/Makefile

17 lines
367 B
Makefile
Raw Permalink Normal View History

2023-08-10 18:32:07 +03:00
ifneq ("$(wildcard docker-compose.yml)","")
PHP=docker-compose run --rm --no-deps php php
else
PHP=php
endif
2019-06-10 16:24:22 +03:00
test:
@echo "==> Running tests"
2019-06-19 12:03:37 +03:00
@cp .env.dist .env
2023-08-10 18:32:07 +03:00
@$(PHP) -d memory_limit=-1 vendor/bin/phpunit -c phpunit.xml.dist
2019-06-10 16:24:22 +03:00
@echo "==> Testing complete"
stan:
@echo "==> Running analysis"
2023-08-10 18:32:07 +03:00
@$(PHP) vendor/bin/phpstan analyse
2019-06-21 16:42:04 +03:00
@echo "==> Analysis complete"