nim-libp2p-experimental/libp2p.nimble

23 lines
525 B
Plaintext
Raw Normal View History

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