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",
|
2019-03-02 21:20:30 +02:00
|
|
|
"nimcrypto >= 0.3.9",
|
2019-02-25 16:08:36 +02:00
|
|
|
"chronos"
|
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-27 14:20:05 +02:00
|
|
|
exec "nim c -r tests/testbase58"
|
2018-12-03 15:07:14 +02:00
|
|
|
exec "nim c -r tests/testbase32"
|
2018-11-27 14:20:05 +02:00
|
|
|
exec "nim c -r tests/testmultiaddress"
|
2018-12-05 03:01:00 +02:00
|
|
|
exec "nim c -r tests/testmultihash"
|
2018-12-12 03:52:42 +02:00
|
|
|
exec "nim c -r tests/testmultibase"
|
2018-12-16 04:55:02 +02:00
|
|
|
exec "nim c -r tests/testcid"
|
2019-02-22 13:32:15 +02:00
|
|
|
exec "nim c -r tests/testecnist"
|
2019-02-24 02:07:13 +02:00
|
|
|
exec "nim c -r tests/testrsa"
|
2019-02-28 14:17:39 +02:00
|
|
|
exec "nim c -r tests/tested25519"
|
2019-03-02 21:19:41 +02:00
|
|
|
exec "nim c -r tests/testcrypto"
|
2018-12-12 16:08:55 +02:00
|
|
|
exec "nim c -r tests/testdaemon"
|