2018-03-02 13:01:30 +00:00
|
|
|
packageName = "eth_rpc"
|
|
|
|
version = "0.0.1"
|
|
|
|
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",
|
2018-06-11 19:26:37 +01:00
|
|
|
"https://github.com/status-im/nim-asyncdispatch2",
|
|
|
|
"chronicles"
|
2018-04-11 14:48:34 +03:00
|
|
|
|
|
|
|
proc configForTests() =
|
|
|
|
--hints: off
|
|
|
|
--debuginfo
|
|
|
|
--path: "."
|
|
|
|
--run
|
2018-04-26 19:33:45 +01:00
|
|
|
--forceBuild
|
2018-04-11 14:48:34 +03:00
|
|
|
|
|
|
|
task test, "run tests":
|
|
|
|
configForTests()
|
|
|
|
setCommand "c", "tests/all.nim"
|