1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

appveyor: add includes to artifacts

This commit is contained in:
Andy Green 2018-01-29 09:19:14 +08:00
parent 1d9d04ff9d
commit 44d2664ece

View file

@ -48,11 +48,14 @@ build_script:
after_build:
- cd %APPVEYOR_BUILD_FOLDER%
- mkdir staging
- mkdir staging\include
- cp -r %APPVEYOR_BUILD_FOLDER%\build\bin %APPVEYOR_BUILD_FOLDER%\build\lib staging
- if EXIST staging\bin\share mv staging\bin\share staging
- if NOT EXIST staging\share\libwebsockets-test-server mkdir staging\share\libwebsockets-test-server
- IF EXIST %APPVEYOR_BUILD_FOLDER%\build\libwebsockets-test-server.pem cp %APPVEYOR_BUILD_FOLDER%\build\libwebsockets-test-server.pem staging\share\libwebsockets-test-server
- IF EXIST %APPVEYOR_BUILD_FOLDER%\build\libwebsockets-test-server.key.pem cp %APPVEYOR_BUILD_FOLDER%\build\libwebsockets-test-server.key.pem staging\share\libwebsockets-test-server
- IF EXIST %APPVEYOR_BUILD_FOLDER%\build\lws_config.h cp %APPVEYOR_BUILD_FOLDER%\build\lws_config.h staging\include
- IF EXIST %APPVEYOR_BUILD_FOLDER%\build\libwebsockets.h cp %APPVEYOR_BUILD_FOLDER%\build\libwebsockets.h staging\include
- 7z a build\lws-%LWS_METHOD%.zip %APPVEYOR_BUILD_FOLDER%\staging\*
artifacts: