18 lines
585 B
Nim
18 lines
585 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", "https://github.com/status-im/nim-rlp >= 1.0.1", "https://github.com/cheatfate/nimcrypto >= 0.1.0", "https://github.com/status-im/nim-secp256k1 >= 0.1.0"
|
|
|
|
proc runTest(name: string, lang = "c") = exec "nim " & lang & " -r tests/" & name
|
|
|
|
task test, "Runs the test suite":
|
|
runTest "testecc"
|
|
runTest "testecies"
|
|
runTest "testauth"
|