advent-of-code-2023/config.nims

6 lines
233 B
Nim

import std/[algorithm,os,sequtils]
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"