mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 20:17:42 +00:00
bundle atlas with sat (#23375)
pending https://github.com/nim-lang/atlas/pull/119 pending AtlasStableCommit updates
This commit is contained in:
5
koch.nim
5
koch.nim
@@ -14,6 +14,7 @@ const
|
||||
NimbleStableCommit = "39b61c5d85afffd53aa404ac9126419ae1bd8d67" # master
|
||||
AtlasStableCommit = "7b780811a168f3f32bff4822369dda46a7f87f9a"
|
||||
ChecksumsStableCommit = "025bcca3915a1b9f19878cea12ad68f9884648fc"
|
||||
SatStableCommit = "5faec3e9a33afe99a7d22377dd1b45a5391f5504"
|
||||
|
||||
# examples of possible values for fusion: #head, #ea82b54, 1.2.3
|
||||
FusionStableHash = "#372ee4313827ef9f2ea388840f7d6b46c2b1b014"
|
||||
@@ -167,9 +168,11 @@ proc bundleAtlasExe(latest: bool, args: string) =
|
||||
let commit = if latest: "HEAD" else: AtlasStableCommit
|
||||
cloneDependency(distDir, "https://github.com/nim-lang/atlas.git",
|
||||
commit = commit, allowBundled = true)
|
||||
cloneDependency(distDir / "atlas" / distDir, "https://github.com/nim-lang/sat.git",
|
||||
commit = SatStableCommit, allowBundled = true)
|
||||
# installer.ini expects it under $nim/bin
|
||||
nimCompile("dist/atlas/src/atlas.nim",
|
||||
options = "-d:release --noNimblePath " & args)
|
||||
options = "-d:release --noNimblePath -d:nimAtlasBootstrap " & args)
|
||||
|
||||
proc bundleNimsuggest(args: string) =
|
||||
nimCompileFold("Compile nimsuggest", "nimsuggest/nimsuggest.nim",
|
||||
|
||||
Reference in New Issue
Block a user