version = "1.0.0" author = "Status Research & Development GmbH" description = "Ethereum Common library" license = "MIT" skipDirs = @["tests"] requires "nim > 0.19.0", "nimcrypto", "ranges", "stint", "byteutils", "secp256k1" proc test(filename: string) = echo "Running: ", filename exec "nim c -r " & filename import strutils, os task test, "run tests": for i in walkDirRec("tests"): let fn = splitPath(i).tail if fn.startsWith("test_") and fn.endsWith(".nim"): test(i)