mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
[更新] Windows Compoesr 组件更新脚本
This commit is contained in:
parent
7f1221c01f
commit
17e1dc414d
@ -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
|
Loading…
x
Reference in New Issue
Block a user