From fe1892e64c549ba7985e6a73a2b7474038f9bf7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=98=8E?= <38864787+wansxlysys@users.noreply.github.com> Date: Wed, 10 Dec 2025 17:13:55 +0800 Subject: [PATCH] Update post-autoload-dump command for container removal --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 22c1fb41..057b226b 100644 --- a/composer.json +++ b/composer.json @@ -68,7 +68,7 @@ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], "post-autoload-dump": [ - "rm -rf runtime/container" + "@php -r \"if(is_dir('runtime/container')) if (PHP_OS_FAMILY === 'Windows') { @system('rmdir /s /q runtime\\\\container'); } else { @system('rm -rf runtime/container'); }\"" ], "test": "co-phpunit --prepend test/bootstrap.php --colors=always", "cs-fix": "php-cs-fixer fix $1",