Download DUB from GitHub instead of code.dlang.org.

This commit is contained in:
Sönke Ludwig 2018-03-12 00:11:15 +01:00
parent 24ee40ea25
commit bd0abb7409

View file

@ -95,7 +95,7 @@ install:
} }
} }
- ps: SetUpDCompiler - ps: SetUpDCompiler
- powershell -Command Invoke-WebRequest https://code.dlang.org/files/dub-1.7.1-windows-x86.zip -OutFile dub.zip - powershell -Command [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; Invoke-WebRequest "https://github.com/dlang/dub/releases/download/v1.7.2/dub-1.7.2-windows-x86.zip" -OutFile dub.zip
- 7z x dub.zip -odub > nul - 7z x dub.zip -odub > nul
- set PATH=%CD%\%binpath%;%CD%\dub;%PATH% - set PATH=%CD%\%binpath%;%CD%\dub;%PATH%
- dub --version - dub --version