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",
|
|
|
|
"https://github.com/status-im/nim-asyncdispatch2"
|
2018-11-19 04:52:11 +02:00
|
|
|
|
2018-11-19 23:03:50 +02:00
|
|
|
task test, "Runs the test suite":
|
2018-11-20 23:39:35 +02:00
|
|
|
exec "nim c -r tests/testvarint"
|
2018-11-24 00:06:06 +02:00
|
|
|
exec "nim c -r tests/testdaemon"
|
2018-11-27 14:20:05 +02:00
|
|
|
exec "nim c -r tests/testbase58"
|
|
|
|
exec "nim c -r tests/testmultiaddress"
|