1
0
mirror of synced 2024-11-25 05:06:02 +03:00
mg-bot-api-client-php/Makefile

16 lines
389 B
Makefile
Raw Normal View History

2019-06-10 16:24:22 +03:00
ROOT_DIR=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
SRC_DIR=$(ROOT_DIR)/src
2019-07-16 15:04:54 +03:00
BIN_DIR=$(ROOT_DIR)/vendor/bin
2019-06-10 16:24:22 +03:00
test:
@echo "==> Running tests"
@cd $(ROOT_DIR)
2019-06-19 12:03:37 +03:00
@cp .env.dist .env
2019-06-28 09:44:07 +03:00
@php -d memory_limit=-1 $(BIN_DIR)/phpunit -c phpunit.xml.dist
2019-06-10 16:24:22 +03:00
@echo "==> Testing complete"
stan:
@echo "==> Running analysis"
2019-07-16 15:04:54 +03:00
@php $(BIN_DIR)/phpstan analyse
2019-06-21 16:42:04 +03:00
@echo "==> Analysis complete"