Merge branch 'master' into nimscript-support
This commit is contained in:
commit
a5b23fd226
2 changed files with 8 additions and 8 deletions
|
|
@ -57,9 +57,9 @@ On Windows installing Nimble from source is slightly more complex:
|
||||||
|
|
||||||
git clone https://github.com/nim-lang/nimble.git
|
git clone https://github.com/nim-lang/nimble.git
|
||||||
cd nimble
|
cd nimble
|
||||||
nim c src\nimble
|
nim c src/nimble
|
||||||
cp src\nimble.exe src\nimble1.exe
|
cp src/nimble.exe src/nimble1.exe
|
||||||
src\nimble1.exe install
|
src/nimble1.exe install
|
||||||
|
|
||||||
This is required because Windows will lock the process which is being run and
|
This is required because Windows will lock the process which is being run and
|
||||||
during installation Nimble will recompile itself.
|
during installation Nimble will recompile itself.
|
||||||
|
|
|
||||||
|
|
@ -36,8 +36,8 @@ template cd*(dir: string, body: stmt) =
|
||||||
|
|
||||||
proc getNimBin*: string =
|
proc getNimBin*: string =
|
||||||
result = "nim"
|
result = "nim"
|
||||||
if findExe("nim") != "": result = "nim"
|
if findExe("nim") != "": result = findExe("nim")
|
||||||
elif findExe("nimrod") != "": result = "nimrod"
|
elif findExe("nimrod") != "": result = findExe("nimrod")
|
||||||
|
|
||||||
proc getNimrodVersion*: Version =
|
proc getNimrodVersion*: Version =
|
||||||
let nimBin = getNimBin()
|
let nimBin = getNimBin()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue