From 7829bd7c5161cef1d25aab0d225602c651fdcff5 Mon Sep 17 00:00:00 2001 From: "v.razuvaev" Date: Thu, 11 Jun 2026 07:44:55 +0300 Subject: [PATCH] Add make audit-package target --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 97b316b..c6c246b 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ DOCKER_HOST := docker run --rm --network host -v "$(PWD)":/app -w /app PCOV_BOOTSTRAP := apk add --no-cache $$PHPIZE_DEPS >/dev/null && pecl install pcov >/dev/null && docker-php-ext-enable pcov .PHONY: build cs cs-fix psalm test mutation rector rector-fix install normalize require-checker \ - test-coverage test-coverage-ci update-deps release-check bc-check + test-coverage test-coverage-ci update-deps release-check bc-check audit-package install: $(DOCKER) composer install --no-interaction --no-progress --prefer-dist @@ -80,3 +80,6 @@ help: @echo " update-deps composer update + normalize" @echo " bc-check check backward compatibility against latest tag" @echo " release-check build + rector + bc-check + mutation" + +audit-package: + @if [ -f ../bin/package-audit ]; then bash ../bin/package-audit "$(CURDIR)"; else echo "package-audit: available only inside the monorepo"; fi