creates a binary archive without the programs directory

also improves compression ratio to -mx9
This commit is contained in:
Yann Collet 2017-05-04 17:40:40 -07:00
parent 9203dab529
commit 36153af5ec

View File

@ -88,10 +88,10 @@
( if [%COMPILER%]==[gcc] if [%ARTIFACT%]==[true]
lib\dll\example\build_package.bat &&
make -C programs DEBUGFLAGS= clean zstd &&
7z a -tzip zstd-win-binary-%PLATFORM%.zip programs\zstd.exe &&
cd programs\ && 7z a -tzip -mx9 zstd-win-binary-%PLATFORM%.zip zstd.exe &&
appveyor PushArtifact zstd-win-binary-%PLATFORM%.zip &&
cp programs\zstd.exe bin\zstd.exe &&
cd bin\ && 7z a -tzip zstd-win-release-%PLATFORM%.zip * &&
cp zstd.exe ..\bin\zstd.exe &&
cd ..\bin\ && 7z a -tzip -mx9 zstd-win-release-%PLATFORM%.zip * &&
appveyor PushArtifact zstd-win-release-%PLATFORM%.zip
)
)