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"
|
|
|
|
skipDirs = @["tests", "Nim"]
|
|
|
|
|
2018-11-19 04:39:04 +00:00
|
|
|
requires "nim > 0.18.0",
|
|
|
|
"https://github.com/status-im/nim-asyncdispatch2"
|
2018-11-19 02:52:11 +00:00
|
|
|
|
2018-11-19 04:18:11 +00:00
|
|
|
task tests, "Runs the test suite":
|
2018-11-19 04:34:05 +00:00
|
|
|
exec "nim c -r tests/testpbvarint"
|
|
|
|
exec "nim c -r tests/testdaemon"
|