21 lines
598 B
Nim
21 lines
598 B
Nim
mode = ScriptMode.Verbose
|
|
|
|
packageName = "libp2p"
|
|
version = "0.0.1"
|
|
author = "Status Research & Development GmbH"
|
|
description = "LibP2P implementation"
|
|
license = "MIT"
|
|
skipDirs = @["tests", "examples", "Nim"]
|
|
|
|
requires "nim > 0.18.0",
|
|
"nimcrypto",
|
|
"https://github.com/status-im/nim-asyncdispatch2"
|
|
|
|
task test, "Runs the test suite":
|
|
exec "nim c -r tests/testvarint"
|
|
exec "nim c -r tests/testdaemon"
|
|
exec "nim c -r tests/testbase58"
|
|
exec "nim c -r tests/testbase32"
|
|
exec "nim c -r tests/testmultiaddress"
|
|
exec "nim c -r tests/testmultihash"
|