20 lines
382 B
Makefile
20 lines
382 B
Makefile
PHP = docker compose run php
|
|
|
|
.PHONY: composer_install composer_update static_analysis tests remove_orphans
|
|
|
|
composer_install:
|
|
@$(PHP) composer install
|
|
|
|
composer_update:
|
|
@$(PHP) composer update
|
|
|
|
static_analysis:
|
|
@$(PHP) vendor/bin/phpstan analyse src --level 6
|
|
|
|
tests:
|
|
@$(PHP) rm -rf var/cache
|
|
@$(PHP) vendor/bin/phpunit
|
|
|
|
remove_orphans:
|
|
@docker compose down --remove-orphans
|