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",
|
2019-02-25 14:08:36 +00:00
|
|
|
"chronos"
|
2018-11-19 02:52:11 +00:00
|
|
|
|
2018-11-19 21:03:50 +00:00
|
|
|
task test, "Runs the test suite":
|
2018-11-20 21:39:35 +00:00
|
|
|
exec "nim c -r tests/testvarint"
|
2018-11-27 12:20:05 +00:00
|
|
|
exec "nim c -r tests/testbase58"
|
2018-12-03 13:07:14 +00:00
|
|
|
exec "nim c -r tests/testbase32"
|
2019-03-06 00:36:09 +00:00
|
|
|
exec "nim c -r tests/testbase64"
|
2018-11-27 12:20:05 +00:00
|
|
|
exec "nim c -r tests/testmultiaddress"
|
2018-12-05 01:01:00 +00:00
|
|
|
exec "nim c -r tests/testmultihash"
|
2018-12-12 01:52:42 +00:00
|
|
|
exec "nim c -r tests/testmultibase"
|
2018-12-16 02:55:02 +00:00
|
|
|
exec "nim c -r tests/testcid"
|
2019-02-22 11:32:15 +00:00
|
|
|
exec "nim c -r tests/testecnist"
|
2019-02-24 00:07:13 +00:00
|
|
|
exec "nim c -r tests/testrsa"
|
2019-02-28 12:17:39 +00:00
|
|
|
exec "nim c -r tests/tested25519"
|
2019-03-02 19:19:41 +00:00
|
|
|
exec "nim c -r tests/testcrypto"
|
2018-12-12 14:08:55 +00:00
|
|
|
exec "nim c -r tests/testdaemon"
|