[Groonga-commit] groonga/groonga at d1f9405 [master] appveyor: fix unexpected )

Back to archive index
Kentaro Hayashi null+****@clear*****
Thu Jan 31 23:55:56 JST 2019


Kentaro Hayashi	2019-01-31 23:55:56 +0900 (Thu, 31 Jan 2019)

  Revision: d1f94058c9ee59823b6a7d7543a210c628f3c827
  https://github.com/groonga/groonga/commit/d1f94058c9ee59823b6a7d7543a210c628f3c827

  Message:
    appveyor: fix unexpected )

  Modified files:
    appveyor.yml

  Modified: appveyor.yml (+8 -11)
===================================================================
--- appveyor.yml    2019-01-31 22:49:37 +0900 (d97763eaa)
+++ appveyor.yml    2019-01-31 23:55:56 +0900 (2e4f7b413)
@@ -17,8 +17,10 @@ environment:
       ARCH: amd64
     - VS_VERSION: 15
       ARCH: x86
+      VCVARS: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat'
     - VS_VERSION: 15
       ARCH: amd64
+      VCVARS: 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat'
 
 # matrix:
 #   allow_failures:
@@ -33,17 +35,12 @@ init:
 install:
   - set PATH=C:\Ruby25-x64\bin;%PATH%
   - set PATH=C:\msys64\usr\bin;%PATH%
-  - if "%VS_VERSION%" == "15" if "%ARCH" == "x86" (
-      call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
-    )
-  - if "%VS_VERSION%" == "15" if "%ARCH" == "amd64" (
-      call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
-    )
-  - if not "%VS_VERSION%" == "15" (
-      call
-      "C:\Program Files (x86)\Microsoft Visual Studio %VS_VERSION%.0\VC\vcvarsall.bat"
-      %ARCH%
-    )
+  - if "%VS_VERSION%" == "15"
+    call %VCVARS%
+  - if not "%VS_VERSION%" == "15"
+    call
+    "C:\Program Files (x86)\Microsoft Visual Studio %VS_VERSION%.0\VC\vcvarsall.bat"
+    %ARCH%
   # - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
   - tzutil /s "Tokyo Standard Time"
   # - choco install -y imdisk-toolkit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20190131/27857ba5/attachment-0001.html>


More information about the Groonga-commit mailing list
Back to archive index