next steps for closure iterators
This commit is contained in:
parent
85a5bfe605
commit
37229df7fc
28 changed files with 164 additions and 71 deletions
9
koch.nim
9
koch.nim
|
|
@ -42,7 +42,7 @@ Possible Commands:
|
|||
csource [options] builds the C sources for installation
|
||||
zip builds the installation ZIP package
|
||||
inno [options] builds the Inno Setup installer (for Windows)
|
||||
tests run the testsuite
|
||||
tests [options] run the testsuite
|
||||
update updates nimrod to the latest version from github
|
||||
(compile koch with -d:withUpdate to enable)
|
||||
temp options creates a temporary compiler for testing
|
||||
|
|
@ -260,11 +260,14 @@ when defined(withUpdate):
|
|||
|
||||
# -------------- tests --------------------------------------------------------
|
||||
|
||||
template `|`(a, b): expr = (if a.len > 0: a else: b)
|
||||
|
||||
proc tests(args: string) =
|
||||
# we compile the tester with taintMode:on to have a basic
|
||||
# taint mode test :-)
|
||||
exec("nimrod cc --taintMode:on tests/testament/tester")
|
||||
exec(getCurrentDir() / "tests/testament/tester".exe & " all")
|
||||
exec "nimrod cc --taintMode:on tests/testament/tester"
|
||||
exec quoteShell(getCurrentDir() / "tests/testament/tester".exe) & " " &
|
||||
(args|"all")
|
||||
|
||||
proc temp(args: string) =
|
||||
var output = "compiler" / "nimrod".exe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue