ThinkAdmin/_composer.bat
2017-02-07 03:11:34 -05:00

8 lines
264 B
Batchfile

:: Composer 安装更新脚本
@title Composer Install
@rmdir /s/q vendor thinkphp
@echo ========= 下载并安装插件 =========
@composer update --profile --prefer-dist --optimize-autoloader
@echo ========= 压缩并发布插件 =========
@composer dump-autoload --optimize