[前][次][番号順一覧][スレッド一覧]

ruby-changes:63755

From: Nobuyoshi <ko1@a...>
Date: Thu, 26 Nov 2020 10:00:02 +0900 (JST)
Subject: [ruby-changes:63755] af80df1820 (master): Keep patched zlib files

https://git.ruby-lang.org/ruby.git/commit/?id=af80df1820

From af80df18208232368529af45fd7a77c87e16b35f Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Wed, 25 Nov 2020 21:01:57 +0900
Subject: Keep patched zlib files


diff --git a/appveyor.yml b/appveyor.yml
index 9719a8e..d31d4b2 100644
--- a/appveyor.yml
+++ b/appveyor.yml
@@ -53,8 +53,9 @@ for: https://github.com/ruby/ruby/blob/trunk/appveyor.yml#L53
     - mkdir \usr\local\bin
     - mkdir \usr\local\include
     - mkdir \usr\local\lib
-    - curl -fsSL -o zlib%zlib_version:.=%.zip --retry 10 https://zlib.net/zlib%zlib_version:.=%.zip
-    - 7z x -aoa -o%APPVEYOR_BUILD_FOLDER%\ext\zlib zlib%zlib_version:.=%.zip
+    - SET ZLIB_ZIP=.downloaded-cache\zlib%zlib_version:.=%.zip
+    - if not exist %ZLIB_ZIP% curl -fsSL -o %ZLIB_ZIP% --retry 10 https://zlib.net/zlib%zlib_version:.=%.zip
+    - 7z x -aos -o%APPVEYOR_BUILD_FOLDER%\ext\zlib %ZLIB_ZIP%
     - for %%I in (%OPENSSL_DIR%\*.dll) do mklink /h \usr\local\bin\%%~nxI %%I
     - attrib +r /s /d
     - mkdir %Platform%-mswin_%vs%
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]