Skip to content

Commit d74d868

Browse files
author
fuzzard
committed
[windows] download-msys2 call vswhere to setup env
1 parent 354a524 commit d74d868

File tree

6 files changed

+36
-0
lines changed

6 files changed

+36
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat arm store
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat arm64
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat x86 store
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat x86
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat x64 store
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
@ECHO OFF
22

33
PUSHD %~dp0\..
4+
CALL vswhere.bat x64
5+
IF ERRORLEVEL 1 (
6+
ECHO ERROR! download-msys2.bat: Something went wrong when calling vswhere.bat
7+
POPD
8+
EXIT /B 1
9+
)
410
CALL download-msys2.bat %*
511
POPD

0 commit comments

Comments
 (0)