From 96079c5b9ed2044c5ddb51c0a1c6279bee401481 Mon Sep 17 00:00:00 2001 From: Daniel Kesselberg Date: Sat, 14 Feb 2026 20:44:39 +0100 Subject: [PATCH] chore: Safe-guard composer-bin-plugin Running composer install --no-dev fails with Command "bin" is not defined because the plugin is in require-dev. A script named "bin" avoids the failure. Signed-off-by: Daniel Kesselberg --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 09d60382..6256d7c1 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ }, "scripts": { "post-install-cmd": [ - "@composer bin all install --ansi" + "[ $COMPOSER_DEV_MODE -eq 0 ] || @composer bin all install --ansi" ], "post-update-cmd": [ "@composer bin all update --ansi"