sers压测CL-publish.bat 870 B

12345678910111213141516171819202122232425262728
  1. cd /d ../../
  2. echo 'publish Client'
  3. cd /d Library\Sers\Sers.CL\Test\CommunicationManage\CmClient
  4. dotnet build --configuration Release
  5. dotnet publish --configuration Release --output ..\..\..\..\..\..\Doc\Publish\CL压测\CmClient
  6. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  7. cd /d ../../../../../../
  8. echo 'publish Server'
  9. cd /d Library\Sers\Sers.CL\Test\CommunicationManage\CmServer
  10. dotnet build --configuration Release
  11. dotnet publish --configuration Release --output ..\..\..\..\..\..\Doc\Publish\CL压测\CmServer
  12. @if errorlevel 1 (echo . & echo . & echo 出错,请排查!& pause)
  13. cd /d ../../../../../../
  14. cd /d Doc\Publish
  15. @echo "copy from PublishFile"
  16. xcopy "..\PublishFile\CL压测" "CL压测" /e /i /r /y
  17. echo 'publish CL压测 succeed!'
  18. echo 'publish CL压测 succeed!'
  19. echo 'publish CL压测 succeed!'
  20. cd /d ../cmd