]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
creates a binary archive without the `programs` directory
authorYann Collet <cyan@fb.com>
Fri, 5 May 2017 00:40:40 +0000 (17:40 -0700)
committerYann Collet <cyan@fb.com>
Fri, 5 May 2017 00:40:40 +0000 (17:40 -0700)
also improves compression ratio to -mx9

appveyor.yml

index df7567b8e2c4344961300e88db3c5cd01caaec43..1f8b8cf8add125ab58cde6cc8e73e528f45c5763 100644 (file)
       ( 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
       )
     )