diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2024-09-27 15:33:13 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-27 09:33:13 +0200 |
commit | 62a5bb4d0acfea39797b8b5207786c1d61e12b1b (patch) | |
tree | 1fd848eb4397d6b0cd222a1cc3661a63884e4f11 | |
parent | fd379c2f9410d8baa2e0dc7819e5bf3134aa7605 (diff) | |
download | Nim-62a5bb4d0acfea39797b8b5207786c1d61e12b1b.tar.gz |
fixes #24173; always bundle checksums (#24189)
fixes #24173 `cloneDependency` always has its logic to use existing deps
-rw-r--r-- | koch.nim | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/koch.nim b/koch.nim index 072fdb8b1..77bc2299f 100644 --- a/koch.nim +++ b/koch.nim @@ -1,12 +1,12 @@ # # # Maintenance program for Nim -# (c) Copyright 2017 Andreas Rumpf +# (c) Copyright 2024 Andreas Rumpf # # See the file "copying.txt", included in this # distribution, for details about the copyright. # -# See doc/koch.txt for documentation. +# See doc/koch.md for documentation. # const @@ -52,7 +52,7 @@ const +-----------------------------------------------------------------+ | Maintenance program for Nim | | Version $1| -| (c) 2017 Andreas Rumpf | +| (c) 2024 Andreas Rumpf | +-----------------------------------------------------------------+ Build time: $2, $3 @@ -77,6 +77,7 @@ Possible Commands: doesn't require network connectivity nimble builds the Nimble tool atlas builds the Atlas tool + checksums installs the checksums dependency fusion installs fusion via Nimble Boot options: @@ -344,8 +345,7 @@ proc boot(args: string, skipIntegrityCheck: bool) = let smartNimcache = (if "release" in args or "danger" in args: "nimcache/r_" else: "nimcache/d_") & hostOS & "_" & hostCPU - if not dirExists("dist/checksums"): - bundleChecksums(false) + bundleChecksums(false) let usingLibFFI = "nimHasLibFFI" in args if usingLibFFI and not dirExists("dist/libffi"): @@ -508,8 +508,7 @@ proc temp(args: string) = result[1].add " " & quoteShell(args[i]) inc i - if not dirExists("dist/checksums"): - bundleChecksums(false) + bundleChecksums(false) let d = getAppDir() let output = d / "compiler" / "nim".exe |