diff --git a/Makefile b/Makefile index c99ebbe..e8eec65 100644 --- a/Makefile +++ b/Makefile @@ -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