代码拉取完成,页面将自动刷新
@echo off
taskkill /f /im dotnet.exe
echo "start publish"
set publish_dir="E:\Work\Code\lobster-publish"
set src_dir="E:\Work\Code\lobster-sso"
echo "start publish Lobster.Gateway"
::set src_dir=C:\Users\kakake\Documents\ux\Code\Lobster\trunk\Lobster.Gateway
rmdir /s/q %publish_dir%\Lobster.Gateway
dotnet publish "%src_dir%/Lobster.Gateway/Lobster.Gateway.csproj" -c "Release" -o "%publish_dir%/Lobster.Gateway/publish"
echo "finish publish"
echo "start publish Lobster.Quartz"
::set src_dir=C:\Users\kakake\Documents\ux\Code\Lobster\trunk\Lobster.Quartz
rmdir /s/q %publish_dir%\Lobster.Quartz
dotnet publish "%src_dir%/Lobster.Quartz/Lobster.Quartz.csproj" -c "Release" -o "%publish_dir%/Lobster.Quartz/publish"
echo "finish publish"
echo "start publish Lobster.RabbitMQWebClient"
rmdir /s/q %publish_dir%\Lobster.RabbitMQWebClient
dotnet publish "%src_dir%/Lobster.RabbitMQWebClient/Lobster.RabbitMQWebClient.csproj" -c "Release" -o "%publish_dir%/Lobster.RabbitMQWebClient/publish"
echo "finish publish"
echo "start publish Lobster.HealthCheckUI"
::set src_dir=C:\Users\kakake\Documents\ux\Code\Lobster\trunk\Lobster.HealthCheckUI
rmdir /s/q %publish_dir%\Lobster.HealthCheckUI
dotnet publish "%src_dir%/Lobster.HealthCheckUI/Lobster.HealthCheckUI.csproj" -c "Release" -o "%publish_dir%/Lobster.HealthCheckUI/publish"
echo "finish publish"
echo "------------------------"
::set src_dir=C:\Users\kakake\Documents\ux\Code\Lobster\trunk\Lobster.SSO
echo "start publish Common.Service"
rmdir /s/q %publish_dir%\Lobster.SSO\Common.Service
dotnet publish "%src_dir%/Lobster.SSO/Common.Service/Common.Service.csproj" -c "Release" -o "%publish_dir%/Lobster.SSO/Common.Service/publish"
echo "finish publish"
echo "start publish App.Service"
rmdir /s/q %publish_dir%\Lobster.SSO\App.Service
dotnet publish "%src_dir%/Lobster.SSO/App.Service/App.Service.csproj" -c "Release" -o "%publish_dir%/Lobster.SSO/App.Service/publish"
echo "finish publish"
echo "start publish App.Web"
rmdir /s/q %publish_dir%\Lobster.SSO\App.Web
dotnet publish "%src_dir%/Lobster.SSO/App.Web/App.Web.csproj" -c "Release" -o "%publish_dir%/Lobster.SSO/App.Web/publish"
echo "finish publish"
echo "start publish SSO.Service"
rmdir /s/q %publish_dir%\Lobster.SSO\SSO.Service
dotnet publish "%src_dir%/Lobster.SSO/SSO.Service/SSO.Service.csproj" -c "Release" -o "%publish_dir%/Lobster.SSO/SSO.Service/publish"
echo "finish publish"
echo "start publish SSO.Web"
rmdir /s/q %publish_dir%\Lobster.SSO\SSO.Web
dotnet publish "%src_dir%/Lobster.SSO/SSO.Web/SSO.Web.csproj" -c "Release" -o "%publish_dir%/Lobster.SSO/SSO.Web/publish"
echo "finish publish"
echo "start publish Worker.Service"
rmdir /s/q %publish_dir%\Lobster.SSO\Worker.Service
dotnet publish "%src_dir%/Lobster.SSO/Worker.Service/Worker.Service.csproj" -c "Release" -o "%publish_dir%/Lobster.SSO/Worker.Service/publish"
echo "finish publish"
echo "start publish Worker.Web"
rmdir /s/q %publish_dir%\Lobster.SSO\Worker.Web
dotnet publish "%src_dir%/Lobster.SSO/Worker.Web/Worker.Web.csproj" -c "Release" -o "%publish_dir%/Lobster.SSO/Worker.Web/publish"
echo "finish publish"
REM echo "start publish Pay.Service"
REM rmdir /s/q %publish_dir%\Lobster.SSO\Pay.Service
REM dotnet publish "%src_dir%/Lobster.SSO/Pay.Service/Pay.Service.csproj" -c "Release" -o "%publish_dir%/Lobster.SSO/Pay.Service/publish"
REM echo "finish publish"
echo "------------------------"
pause>nul
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。