diff options
author | chriseth <chris@ethereum.org> | 2018-05-08 16:33:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-05-08 16:33:16 +0800 |
commit | 0a63bc177b2871a0b0acb648e71360b44a12b290 (patch) | |
tree | 39c321077661691d50abfadc9b5a969de49e381d /scripts | |
parent | d0bd549d8567934a5a674b44050980bd4b5c3a53 (diff) | |
parent | 2ec03edc97044c45ebff50f65e9f4d202c95eace (diff) | |
download | dexon-solidity-0a63bc177b2871a0b0acb648e71360b44a12b290.tar.gz dexon-solidity-0a63bc177b2871a0b0acb648e71360b44a12b290.tar.zst dexon-solidity-0a63bc177b2871a0b0acb648e71360b44a12b290.zip |
Merge pull request #4052 from kylewu/vs-2017-build
run both vs 2015 and vs 2017 in appveyor
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/release.bat | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/scripts/release.bat b/scripts/release.bat index 54d85862..be95b35e 100644 --- a/scripts/release.bat +++ b/scripts/release.bat @@ -27,7 +27,19 @@ REM Copyright (c) 2016 solidity contributors. REM --------------------------------------------------------------------------- set CONFIGURATION=%1 +set VERSION=%2 + +IF "%VERSION%"=="2015" ( + set "DLLS=C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\msvc*.dll" +) ELSE ( + + IF EXIST "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.13.26020\x86\Microsoft.VC141.CRT\" ( + set "DLLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Redist\MSVC\14.13.26020\x86\Microsoft.VC141.CRT\msvc*.dll" + ) ELSE ( + set "DLLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Redist\MSVC\14.13.26020\x86\Microsoft.VC141.CRT\msvc*.dll" + ) +) 7z a solidity-windows.zip ^ .\build\solc\%CONFIGURATION%\solc.exe .\build\test\%CONFIGURATION%\soltest.exe ^ - "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\redist\x86\Microsoft.VC140.CRT\msvc*.dll" + "%DLLS%" |