Replace makefile with justfile

This commit is contained in:
brabli
2025-02-26 09:47:03 +00:00
parent 38e4c814e0
commit 623fc60af2
2 changed files with 15 additions and 16 deletions

View File

@@ -1,16 +0,0 @@
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:
@$(PHP) rm -rf var/cache
@$(PHP) vendor/bin/phpunit

15
justfile Normal file
View File

@@ -0,0 +1,15 @@
php := "docker compose run php"
composer_install:
@{{php}} composer install
composer_update:
@{{php}} composer update
static_analysis:
@{{php}} vendor/bin/psalm
tests:
@{{php}} rm -rf var/cache
@{{php}} vendor/bin/phpunit