From 17e1dc414dbb51d405a0065ab1d3a669f331b34c Mon Sep 17 00:00:00 2001 From: Anyon Date: Thu, 4 May 2017 16:43:44 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=20Windows=20Compoesr=20?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=9B=B4=E6=96=B0=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- _composer.cmd | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) 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