9 lines
266 B
Nim
9 lines
266 B
Nim
import std/[algorithm, os, sequtils]
|
|
|
|
--noNimblePath
|
|
--path:"./src"
|
|
|
|
task solve, "run all solutions":
|
|
for dir in walkDirRec("solutions", yieldFilter = {pcDir}).toSeq().sortedByIt(it):
|
|
echo "--",dir,"--"
|
|
selfExec "r --hint:all:off " & dir & "/solution.nim"
|