nim-eth-p2p/ethp2p.nimble

26 lines
667 B
Nim

mode = ScriptMode.Verbose
packageName = "ethp2p"
version = "1.0.0"
author = "Status Research & Development GmbH"
description = "Ethereum P2P library"
license = "MIT"
skipDirs = @["tests", "Nim"]
requires "nim > 0.18.0",
"rlp >= 1.0.1",
"nimcrypto >= 0.3.0",
"secp256k1 >= 0.1.0",
"eth_keys",
"ranges",
"ttmath",
"https://github.com/status-im/byteutils"
proc runTest(name: string, lang = "c") = exec "nim " & lang & " -r tests/" & name
task test, "Runs the test suite":
runTest "testecies"
runTest "testauth"
runTest "testcrypt"
runTest("tdiscovery", "cpp")