mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
13 lines
371 B
Batchfile
13 lines
371 B
Batchfile
:: Composer 安装更新脚本
|
|
@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 |