ThinkAdmin/_composer.cmd
2017-04-05 11:04:59 +08:00

8 lines
268 B
Batchfile

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