Copy makefile

This commit is contained in:
Brabli
2022-07-21 15:07:57 +01:00
parent 41dd93bd70
commit 7a2942fe65

View File

@@ -1,4 +1,16 @@
.PHONY: tests
PHP = docker compose run php
.PHONY: composer_install composer_update static_analysis tests
composer_install:
@$(PHP) composer install
composer_update:
@$(PHP) composer update
static_analysis:
@$(PHP) vendor/bin/psalm
tests:
rm -r var/cache/
vendor/bin/phpunit
@$(PHP) rm -rf var/cache
@$(PHP) vendor/bin/phpunit