After some more experimentation I went with his:
task test, "Runs the test suite":
configForTests()
var dir_list = listDirs("test")
dir_list.add("test")
keepItIf(dir_list, it != "test/nimcache")
for dir in dir_list:
for file in listFiles(dir):
var (_, _, ext) = splitFile(file)
if ext == ".nim":
echo "running ---- " & file
exec r"nim c -r " & file
- Running setCommand in a loop RedFred
- Re: Running setCommand in a loop Lando
- Re: Running setCommand in a loop RedFred
- Re: Running setCommand in a loop RedFred
