mirror of https://github.com/status-im/nim-eth.git
25 lines
564 B
Nim
25 lines
564 B
Nim
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)
|