Project_PlatForm/000_核心框架/11_单个发布部署.bat
2025-03-28 09:49:56 +08:00

24 lines
755 B
Batchfile
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
if /i "%1%"=="" goto Error
cd /d "%~dp0"
set SystemName="%1%"
echo =================================================
echo 发布到 %SystemName%
echo -------------------------------------------------
echo 复制910_RealEstate.Release
xcopy /s /r /h /q /y /EXCLUDE:11_单个发布部署.txt 910_RealEstate.Release ..\%SystemName%\910_RealEstate.Release\
echo 复制920_RealEstate.Publish
xcopy /s /r /h /q /y /EXCLUDE:11_单个发布部署.txt 920_RealEstate.Publish ..\%SystemName%\920_RealEstate.Publish\
echo -------------------------------------------------
echo 完成
goto End
:Error
cls
echo ---------------------------------------------
echo 不能直接打开,请从其他批处理调用!
echo ---------------------------------------------
pause>nul
exit
:End