Initial import
This commit is contained in:
commit
405b86068e
324 changed files with 163599 additions and 0 deletions
13
tests/twalker.nim
Executable file
13
tests/twalker.nim
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
# iterate over all files with a given filter:
|
||||
|
||||
import
|
||||
io, os, times
|
||||
|
||||
proc main(filter: string) =
|
||||
for filename in walkFiles(filter):
|
||||
writeln(stdout, filename)
|
||||
|
||||
for key, val in iterOverEnvironment():
|
||||
writeln(stdout, key & '=' & val)
|
||||
|
||||
main("*.mor")
|
||||
Loading…
Add table
Add a link
Reference in a new issue