diff options
author | genotrance <dev@genotrance.com> | 2019-10-31 05:13:32 -0500 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2019-10-31 11:13:32 +0100 |
commit | 0c7b6c9c1509d4dc6e0cc752d560fce0ffec494d (patch) | |
tree | 77b4ef2be8472dbc30c5c9f29b4777264292a935 | |
parent | 79a262d6e97bc70b1b03137101d40a8d6395c723 (diff) | |
download | Nim-0c7b6c9c1509d4dc6e0cc752d560fce0ffec494d.tar.gz |
Switch mingw links (#12561)
-rw-r--r-- | appveyor.yml | 4 | ||||
-rw-r--r-- | azure-pipelines.yml | 2 | ||||
-rw-r--r-- | tools/downloader.nim | 2 | ||||
-rw-r--r-- | tools/finish.nim | 2 | ||||
-rw-r--r-- | tools/urldownloader.nim | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/appveyor.yml b/appveyor.yml index f172405cb..e9407d124 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -4,8 +4,8 @@ environment: DLLS_URL: https://nim-lang.org/download/dlls.zip DLLS_ARCHIVE: dlls.zip MINGW_DIR: mingw64 - MINGW_URL: https://nim-lang.org/download/mingw64-6.3.0.7z - MINGW_ARCHIVE: mingw64-6.3.0.7z + MINGW_URL: https://nim-lang.org/download/mingw64.7z + MINGW_ARCHIVE: mingw64.7z matrix: - NIM_TEST_PACKAGES: false diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d392aa2e3..9406bec25 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -97,7 +97,7 @@ steps: - bash: | mkdir dist - curl -L https://nim-lang.org/download/mingw64-6.3.0.7z -o dist/mingw64.7z + curl -L https://nim-lang.org/download/mingw64.7z -o dist/mingw64.7z curl -L https://nim-lang.org/download/dlls.zip -o dist/dlls.zip 7z x dist/mingw64.7z -odist 7z x dist/dlls.zip -obin diff --git a/tools/downloader.nim b/tools/downloader.nim index 3d866f5d7..37811b273 100644 --- a/tools/downloader.nim +++ b/tools/downloader.nim @@ -45,7 +45,7 @@ proc download(pkg: string; c: Controls) {.async.} = proc apply(a: Actions; c: Controls) {.async.} = if a.mingw: - await download("mingw" & arch & "-6.3.0", c) + await download("mingw" & arch, c) if a.aporia: await download("aporia-0.4.0", c) diff --git a/tools/finish.nim b/tools/finish.nim index 227b9bcef..6dd55793b 100644 --- a/tools/finish.nim +++ b/tools/finish.nim @@ -5,7 +5,7 @@ import strutils, os, osproc, streams, browsers const arch = $(sizeof(int)*8) - mingw = "mingw$1-6.3.0.7z" % arch + mingw = "mingw$1.7z" % arch url = r"https://nim-lang.org/download/" & mingw var diff --git a/tools/urldownloader.nim b/tools/urldownloader.nim index 94f18fa81..b29a6c138 100644 --- a/tools/urldownloader.nim +++ b/tools/urldownloader.nim @@ -427,5 +427,5 @@ when isMainModule: else: echo "Status [" & $status & "] message = [" & $message & "]" - downloadToFile("https://nim-lang.org/download/mingw64-6.3.0.7z", + downloadToFile("https://nim-lang.org/download/mingw64.7z", "test.zip", {optUseCache}, progress) |