mirror of
https://github.com/daylinmorgan/advent-of-code-2023.git
synced 2024-12-22 03:10:44 -06:00
add convience task to run all solutions
This commit is contained in:
parent
45cc5d84e9
commit
60720d1001
1 changed files with 5 additions and 0 deletions
5
config.nims
Normal file
5
config.nims
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
import std/[algorithm,os,sequtils]
|
||||||
|
|
||||||
|
task solve, "run all solutions":
|
||||||
|
for dir in walkDir("solutions").toSeq().sortedByIt(it.path):
|
||||||
|
selfExec "r --hint:all:off " & dir.path & "/solution.nim"
|
Loading…
Reference in a new issue