publish sers.bat 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. cd /d ../../
  2. echo 'publish Gateway'
  3. cd /d Gateway\App.Gateway
  4. dotnet build --configuration Release
  5. dotnet publish --configuration Release --output ..\..\Doc\Publish\SersPublish\Gateway
  6. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  7. cd /d ../../
  8. echo 'publish Gover'
  9. cd /d ServiceCenter\App.Gover.Gateway
  10. dotnet build --configuration Release
  11. dotnet publish --configuration Release --output ..\..\Doc\Publish\SersPublish\Gover
  12. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  13. cd /d ../../
  14. echo 'publish ServiceCenter'
  15. cd /d ServiceCenter\App.ServiceCenter
  16. dotnet build --configuration Release
  17. dotnet publish --configuration Release --output ..\..\Doc\Publish\SersPublish\ServiceCenter
  18. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  19. cd /d ../../
  20. echo 'publish Demo'
  21. cd /d ServiceStation\Demo\SersLoader\Did.SersLoader.Demo
  22. dotnet build --configuration Release
  23. dotnet publish --configuration Release --output ..\..\..\..\Doc\Publish\SersPublish\Demo
  24. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  25. cd /d ../../../../
  26. echo 'publish Robot'
  27. cd /d ServiceStation\Demo\StressTest\App.Robot.Station
  28. dotnet build --configuration Release
  29. dotnet publish --configuration Release --output ..\..\..\..\Doc\Publish\SersPublish\Robot
  30. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  31. cd /d ../../../../
  32. cd /d Doc\Publish
  33. call "ZZZ_copySersStatic.bat"
  34. echo 'publish sers succeed!'
  35. echo 'publish sers succeed!'
  36. echo 'publish sers succeed!'