mirror of
https://github.com/logos-storage/nim-json-rpc.git
synced 2026-01-07 08:03:07 +00:00
30 lines
698 B
Nim
30 lines
698 B
Nim
packageName = "json_rpc"
|
|
version = "0.0.2"
|
|
author = "Status Research & Development GmbH"
|
|
description = "Ethereum remote procedure calls"
|
|
license = "Apache License 2.0"
|
|
skipDirs = @["tests"]
|
|
|
|
### Dependencies
|
|
requires "nim >= 0.17.3",
|
|
"nimcrypto",
|
|
"stint",
|
|
"asyncdispatch2",
|
|
"httputils",
|
|
"chronicles"
|
|
|
|
proc configForTests() =
|
|
--hints: off
|
|
--debuginfo
|
|
--path: "."
|
|
--run
|
|
--forceBuild
|
|
--threads: on
|
|
# https://github.com/nim-lang/Nim/issues/8294#issuecomment-454556051
|
|
if hostOS == "windows":
|
|
--define: "chronicles_colors=NoColors"
|
|
|
|
task test, "run tests":
|
|
configForTests()
|
|
setCommand "c", "tests/all.nim"
|