Skip to content

Commit

Permalink
GH-19: Build .zip packages instead of .7z
Browse files Browse the repository at this point in the history
  • Loading branch information
negrutiu committed May 31, 2024
1 parent 4648993 commit eb00e7f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions _make_package.bat
Original file line number Diff line number Diff line change
Expand Up @@ -44,28 +44,28 @@ call :file %workdir%\LICENSE.zstd.md vcpkg\x86-mingw-static\installed\x86-min

mkdir %outdir% 2> nul
pushd %workdir%
"%Z7%" a "%~dp0%outdir%\NScurl.7z" * -r || pause && exit /b !errorlevel!
"%Z7%" a "%~dp0%outdir%\NScurl.zip" * -r || pause && exit /b !errorlevel!
popd

echo.
echo -------------------------------------------------
REM -- curl packages

pushd vcpkg\x86-mingw-static\installed\x86-mingw-static\tools\curl
"%Z7%" a "%~dp0%outdir%\curl-x86.7z" curl.exe || pause && exit /b !errorlevel!
"%Z7%" a "%~dp0%outdir%\curl-x86.zip" curl.exe || pause && exit /b !errorlevel!
popd

echo -------------------------------------------------

pushd vcpkg\x64-mingw-static\installed\x64-mingw-static\tools\curl
"%Z7%" a "%~dp0%outdir%\curl-amd64.7z" curl.exe || pause && exit /b !errorlevel!
"%Z7%" a "%~dp0%outdir%\curl-amd64.zip" curl.exe || pause && exit /b !errorlevel!
popd

echo -------------------------------------------------

pushd src\nscurl
"%Z7%" a "%~dp0%outdir%\curl-x86.7z" curl-ca-bundle.crt || pause && exit /b !errorlevel!
"%Z7%" a "%~dp0%outdir%\curl-amd64.7z" curl-ca-bundle.crt || pause && exit /b !errorlevel!
"%Z7%" a "%~dp0%outdir%\curl-x86.zip" curl-ca-bundle.crt || pause && exit /b !errorlevel!
"%Z7%" a "%~dp0%outdir%\curl-amd64.zip" curl-ca-bundle.crt || pause && exit /b !errorlevel!
popd

echo.
Expand Down

0 comments on commit eb00e7f

Please sign in to comment.