koch, compiler: bundle fusion as part of the source archive (#15409)
This allows distributions to build Nim from the downloaded source archive without an Internet connection.
This commit is contained in:
parent
2de6e18774
commit
d4892e9388
3 changed files with 24 additions and 5 deletions
3
koch.nim
3
koch.nim
|
|
@ -201,7 +201,8 @@ proc bundleWinTools(args: string) =
|
|||
|
||||
proc bundleFusion(latest: bool) =
|
||||
let commit = if latest: "HEAD" else: FusionStableCommit
|
||||
cloneDependency(distDir, "https://github.com/nim-lang/fusion.git", commit)
|
||||
cloneDependency(distDir, "https://github.com/nim-lang/fusion.git", commit,
|
||||
allowBundled = true)
|
||||
copyDir(distDir / "fusion" / "src" / "fusion", "lib" / "fusion")
|
||||
|
||||
proc zip(latest: bool; args: string) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue