diff options
author | Oscar Campbell <oscar@campbell.nu> | 2015-06-04 07:33:27 +0200 |
---|---|---|
committer | Oscar Campbell <oscar@campbell.nu> | 2015-06-04 07:33:27 +0200 |
commit | 071ccf3d026b03135dbc1e413a5312ac296191ac (patch) | |
tree | bf7ea6436dc5536476df7802ea57970c4c1ec2ec /compiler/nodejs.nim | |
parent | 51fc903dbf26a30add2ec75bbdc01a403cb2d46c (diff) | |
download | Nim-071ccf3d026b03135dbc1e413a5312ac296191ac.tar.gz |
Add "safety compilation". Improved, fixed messages
- 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.
Diffstat (limited to 'compiler/nodejs.nim')
-rw-r--r-- | compiler/nodejs.nim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/nodejs.nim b/compiler/nodejs.nim index e2b79df19..7f9f28aaf 100644 --- a/compiler/nodejs.nim +++ b/compiler/nodejs.nim @@ -4,3 +4,5 @@ proc findNodeJs*(): string = result = findExe("nodejs") if result == "": result = findExe("node") + if result == "": + result = findExe("iojs") |