10 lines
266 B
Text
10 lines
266 B
Text
|
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"
|