Initial commit
This commit is contained in:
19
Makefile
Normal file
19
Makefile
Normal file
@@ -0,0 +1,19 @@
|
||||
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
|
||||
Reference in New Issue
Block a user