diff --git a/_composer.cmd b/_composer.cmd index 37ce0dea9..f0c7ac58a 100644 --- a/_composer.cmd +++ b/_composer.cmd @@ -1,8 +1,13 @@ :: Composer 安装更新脚本 -@title Composer Install -@rmdir /s/q vendor thinkphp composer.lock -@echo ========= 下载并安装插件 ========= -@composer update --profile --prefer-dist --optimize-autoloader -@echo ========= 压缩并发布插件 ========= -@composer dump-autoload --optimize +@echo off +title Composer Plugs Install And Optimize +echo. +echo ========= 1. 清理已安装插件 ========= +rmdir /s/q vendor thinkphp runtime +echo. +echo ========= 2. 下载并安装插件 ========= +composer update --profile --prefer-dist --optimize-autoloader +echo. +echo ========= 3. 压缩并发布插件 ========= +composer dump-autoload --optimize exit \ No newline at end of file