refs #11402; now koch ships a fixed version of Nimble so that the connection between Nim and Nimble version is obvious when you do 'git checkout v0.20' in Nim's repo
This commit is contained in:
parent
cb45527e37
commit
8ab94cdd45
1 changed files with 3 additions and 2 deletions
5
koch.nim
5
koch.nim
|
|
@ -159,9 +159,10 @@ proc buildNimble(latest: bool) =
|
||||||
withDir(installDir):
|
withDir(installDir):
|
||||||
if latest:
|
if latest:
|
||||||
exec("git checkout -f master")
|
exec("git checkout -f master")
|
||||||
else:
|
|
||||||
exec("git checkout -f stable")
|
|
||||||
exec("git pull")
|
exec("git pull")
|
||||||
|
else:
|
||||||
|
exec("git fetch")
|
||||||
|
exec("git checkout tags/v0.10.2")
|
||||||
nimCompile(installDir / "src/nimble.nim", options = "--noNimblePath --nilseqs:on -d:release")
|
nimCompile(installDir / "src/nimble.nim", options = "--noNimblePath --nilseqs:on -d:release")
|
||||||
|
|
||||||
proc bundleNimsuggest() =
|
proc bundleNimsuggest() =
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue