mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
- node ext searcher also looks for "iojs" if no node(js?) found.
- koch ensures the local work dir compiler is freshly compiled before executing the tests.
- the tester can only run in the repo dir - now the compiler and libs used are also explicitly the local dirs - so no confusion from system wide pathing ("sufficiently sandboxed").
- fixed expectations in tmitems.nim test to match changes in json mod.
- re-layouted the columns / row printing slightly, making test fails pop out more, and everything "normal" layed back.
9 lines
165 B
Nim
9 lines
165 B
Nim
import os
|
|
|
|
proc findNodeJs*(): string =
|
|
result = findExe("nodejs")
|
|
if result == "":
|
|
result = findExe("node")
|
|
if result == "":
|
|
result = findExe("iojs")
|