mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-29 01:14:41 +00:00
Made pathing (hopefully) Windows friendly.
This commit is contained in:
2
koch.nim
2
koch.nim
@@ -332,7 +332,7 @@ template `|`(a, b): expr = (if a.len > 0: a else: b)
|
||||
proc tests(args: string) =
|
||||
# Since tests take a long time (on my machine) - lets make sure a stupid
|
||||
# mistake - like forgetting to compile the compiler - isn't made...
|
||||
exec "nim c --lib:./lib -d:release compiler/nim.nim"
|
||||
exec "nim c --lib:lib -d:release compiler/nim.nim"
|
||||
# we compile the tester with taintMode:on to have a basic
|
||||
# taint mode test :-)
|
||||
exec "nim cc --taintMode:on tests/testament/tester"
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
import parseutils, strutils, os, osproc, streams, parsecfg
|
||||
|
||||
const
|
||||
cmdTemplate* = r"./compiler/nim $target --lib:./lib --hints:on -d:testing $options $file"
|
||||
cmdTemplate* = r"compiler" / "nim $target --lib:lib --hints:on -d:testing $options $file"
|
||||
|
||||
type
|
||||
TTestAction* = enum
|
||||
|
||||
Reference in New Issue
Block a user