pack sers_lib.bat 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. cd /d ../../Library/
  2. ::------------------Library
  3. cd /d Library
  4. echo 'pack Vit.Core'
  5. cd /d Vit\Vit.Core\Vit.Core
  6. dotnet build --configuration Release
  7. dotnet pack --configuration Release --output ..\..\..\..\Doc\Publish\nuget
  8. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  9. cd /d ../../../
  10. echo 'pack Vit.Net.Http.FormFile'
  11. cd /d Vit\Vit.Net.Http.FormFile
  12. dotnet build --configuration Release
  13. dotnet pack --configuration Release --output ..\..\..\Doc\Publish\nuget
  14. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  15. cd /d ../../
  16. echo 'pack Vit.WebHost'
  17. cd /d Vit\Vit.WebHost
  18. dotnet build --configuration Release
  19. dotnet pack --configuration Release --output ..\..\..\Doc\Publish\nuget
  20. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  21. cd /d ../../
  22. echo 'pack Sers.Hardware'
  23. cd /d Sers\Sers.Hardware\Sers.Hardware
  24. dotnet build --configuration Release
  25. dotnet pack --configuration Release --output ..\..\..\..\Doc\Publish\nuget
  26. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  27. cd /d ../../../
  28. echo 'pack Sers.Core'
  29. cd /d Sers\Sers.Core\Sers.Core
  30. dotnet build --configuration Release
  31. dotnet pack --configuration Release --output ..\..\..\..\Doc\Publish\nuget
  32. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  33. cd /d ../../../
  34. echo 'pack Sers.CL.Ipc.NamedPipe'
  35. cd /d Sers\Sers.CL\Ipc\Sers.CL.Ipc.NamedPipe
  36. dotnet build --configuration Release
  37. dotnet pack --configuration Release --output ..\..\..\..\..\Doc\Publish\nuget
  38. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  39. cd /d ../../../../
  40. echo 'pack Sers.CL.Socket.Iocp'
  41. cd /d Sers\Sers.CL\Socket\Sers.CL.Socket.Iocp
  42. dotnet build --configuration Release
  43. dotnet pack --configuration Release --output ..\..\..\..\..\Doc\Publish\nuget
  44. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  45. cd /d ../../../../
  46. echo 'pack Sers.CL.Socket.ThreadWait'
  47. cd /d Sers\Sers.CL\Socket\Sers.CL.Socket.ThreadWait
  48. dotnet build --configuration Release
  49. dotnet pack --configuration Release --output ..\..\..\..\..\Doc\Publish\nuget
  50. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  51. cd /d ../../../../
  52. echo 'pack Sers.CL.ClrZmq.ThreadWait'
  53. cd /d Sers\Sers.CL\Zmq\ThreadWait\Sers.CL.ClrZmq.ThreadWait
  54. dotnet build --configuration Release
  55. dotnet pack --configuration Release --output ..\..\..\..\..\..\Doc\Publish\nuget
  56. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  57. cd /d ../../../../../
  58. echo 'pack Sers.CL.WebSocket'
  59. cd /d Sers\Sers.CL\WebSocket\Sers.CL.WebSocket
  60. dotnet build --configuration Release
  61. dotnet pack --configuration Release --output ..\..\..\..\..\Doc\Publish\nuget
  62. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  63. cd /d ../../../../
  64. echo 'pack Sers.CL.Zmq.FullDuplex'
  65. cd /d Sers\Sers.CL\Zmq\FullDuplex\Sers.CL.Zmq.FullDuplex
  66. dotnet build --configuration Release
  67. dotnet pack --configuration Release --output ..\..\..\..\..\..\Doc\Publish\nuget
  68. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  69. cd /d ../../../../../
  70. echo 'pack Sers.ServiceStation'
  71. cd /d Sers\Sers.ServiceStation\Sers.ServiceStation
  72. dotnet build --configuration Release
  73. dotnet pack --configuration Release --output ..\..\..\..\Doc\Publish\nuget
  74. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  75. cd /d ../../../
  76. cd ..
  77. ::------------------Gateway
  78. echo 'pack Sers.Gateway'
  79. cd /d Gateway\Sers.Gateway\Sers.Gateway
  80. dotnet build --configuration Release
  81. dotnet pack --configuration Release --output ..\..\..\Doc\Publish\nuget
  82. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  83. cd /d ../../../
  84. ::------------------ServiceCenter
  85. echo 'pack Sers.ServiceCenter'
  86. cd /d ServiceCenter\Sers.ServiceCenter\Sers.ServiceCenter
  87. dotnet build --configuration Release
  88. dotnet pack --configuration Release --output ..\..\..\Doc\Publish\nuget
  89. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  90. cd /d ../../../
  91. echo 'pack Sers.Gover'
  92. cd /d ServiceCenter\Sers.ServiceCenter\Sers.Gover
  93. dotnet build --configuration Release
  94. dotnet pack --configuration Release --output ..\..\..\Doc\Publish\nuget
  95. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  96. cd /d ../../../
  97. ::------------------ServiceStation
  98. echo 'pack Vit.Ioc'
  99. cd /d ServiceStation\Ioc\Vit.Ioc\Vit.Ioc
  100. dotnet build --configuration Release
  101. dotnet pack --configuration Release --output ..\..\..\..\Doc\Publish\nuget
  102. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  103. cd /d ../../../../
  104. echo 'pack Sers.Ioc'
  105. cd /d ServiceStation\Ioc\Sers.Ioc\Sers.Ioc
  106. dotnet build --configuration Release
  107. dotnet pack --configuration Release --output ..\..\..\..\Doc\Publish\nuget
  108. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  109. cd /d ../../../../
  110. echo 'pack Sers.Serslot'
  111. cd /d ServiceStation\ApiLoader\Sers.Serslot
  112. dotnet build --configuration Release
  113. dotnet pack --configuration Release --output ..\..\..\Doc\Publish\nuget
  114. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  115. cd /d ../../../
  116. echo 'pack Sers.NetcoreLoader'
  117. cd /d ServiceStation\ApiLoader\Sers.NetcoreLoader
  118. dotnet build --configuration Release
  119. dotnet pack --configuration Release --output ..\..\..\Doc\Publish\nuget
  120. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  121. cd /d ../../../
  122. cd /d Doc\Publish
  123. echo 'pack sers_lib succeed!'
  124. echo 'pack sers_lib succeed!'
  125. echo 'pack sers_lib succeed!'