4 Star 0 Fork 0

麓云科技/lobster-publish

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
startPublish -gan.bat 3.36 KB
一键复制 编辑 原始数据 按行查看 历史
yubin 提交于 2022-06-07 10:53 . 新增web队列服务
@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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C#
1
https://gitee.com/luyunkeji/lobster-publish.git
[email protected]:luyunkeji/lobster-publish.git
luyunkeji
lobster-publish
lobster-publish
master

搜索帮助