Merge pull request #71 from vibe-d/download_dub_from_github
Download DUB from GitHub instead of code.dlang.org.
This commit is contained in:
commit
14f4e06b8a
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue