nim-eth/eth.nimble

26 lines
625 B
Plaintext
Raw Normal View History

2019-02-05 10:10:36 +00:00
version = "1.0.0"
author = "Status Research & Development GmbH"
description = "Ethereum Common library"
license = "MIT"
skipDirs = @["tests"]
2019-02-05 11:10:23 +00:00
requires "nim >= 0.19.0",
2019-02-05 10:10:36 +00:00
"nimcrypto",
"ranges",
"stint",
2019-02-05 10:32:22 +00:00
"byteutils",
"secp256k1"
proc test(filename: string) =
echo "Running: ", filename
exec "nim c -r " & filename
2019-02-05 10:56:28 +00:00
import strutils
import oswalkdir, ospaths # In newer nim these are merged to os
2019-02-05 10:10:36 +00:00
task test, "run tests":
2019-02-05 10:32:22 +00:00
for i in walkDirRec("tests"):
let fn = splitPath(i).tail
if fn.startsWith("test_") and fn.endsWith(".nim"):
test(i)