Files
latch/Makefile
2026-04-26 23:23:59 +03:00

24 lines
432 B
Makefile

COMPOSER := $(shell command -v composer 2>/dev/null || echo php composer.phar)
.PHONY: install install-hooks test analyze fix
composer.phar:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php composer-setup.php
php -r "unlink('composer-setup.php');"
install:
$(COMPOSER) install
install-hooks:
lefthook install
test:
vendor/bin/pest
analyze:
vendor/bin/phpstan analyse
fix:
vendor/bin/pint