nim-libp2p/libp2p.nimble

23 lines
537 B
Plaintext
Raw Normal View History

2018-11-19 04:52:11 +02:00
mode = ScriptMode.Verbose
2018-11-19 06:03:23 +02:00
packageName = "libp2p"
2018-11-19 04:52:11 +02:00
version = "0.0.1"
author = "Status Research & Development GmbH"
description = "LibP2P implementation"
license = "MIT"
2018-11-27 14:20:05 +02:00
skipDirs = @["tests", "examples", "Nim"]
2018-11-19 04:52:11 +02:00
2018-11-19 06:39:04 +02:00
requires "nim > 0.18.0",
"secp256k1",
2019-03-02 21:20:30 +02:00
"nimcrypto >= 0.3.9",
2019-10-07 16:15:27 +03:00
"chronos",
"bearssl"
2018-11-19 04:52:11 +02:00
2019-03-25 22:45:34 +01:00
proc runTest(filename: string) =
exec "nim c -r tests/" & filename
2019-08-22 08:49:27 +03:00
# rmFile "tests/" & filename
2018-11-19 23:03:50 +02:00
task test, "Runs the test suite":
2019-03-25 22:45:34 +01:00
runTest "testnative"
runTest "testdaemon"