2018-06-26 19:08:11 +01:00
|
|
|
packageName = "json_rpc"
|
|
|
|
|
version = "0.0.2"
|
2018-03-02 13:01:30 +00:00
|
|
|
author = "Status Research & Development GmbH"
|
|
|
|
|
description = "Ethereum remote procedure calls"
|
|
|
|
|
license = "Apache License 2.0"
|
2018-05-22 20:42:14 +01:00
|
|
|
skipDirs = @["tests"]
|
2018-03-02 13:01:30 +00:00
|
|
|
|
|
|
|
|
### Dependencies
|
2018-04-11 14:48:34 +03:00
|
|
|
requires "nim >= 0.17.3",
|
2018-05-09 15:08:03 +01:00
|
|
|
"nimcrypto",
|
2018-06-07 10:02:14 +03:00
|
|
|
"stint",
|
2019-02-06 18:27:58 +01:00
|
|
|
"chronos",
|
2018-09-15 23:50:44 +03:00
|
|
|
"httputils",
|
2019-06-12 16:44:19 +03:00
|
|
|
"chronicles",
|
|
|
|
|
"news"
|
2018-04-11 14:48:34 +03:00
|
|
|
|
|
|
|
|
proc configForTests() =
|
|
|
|
|
--hints: off
|
|
|
|
|
--debuginfo
|
|
|
|
|
--path: "."
|
|
|
|
|
--run
|
2018-04-26 19:33:45 +01:00
|
|
|
--forceBuild
|
2019-01-10 23:07:58 +01:00
|
|
|
--threads: on
|
2018-04-11 14:48:34 +03:00
|
|
|
|
|
|
|
|
task test, "run tests":
|
|
|
|
|
configForTests()
|
|
|
|
|
setCommand "c", "tests/all.nim"
|