mirror of
https://github.com/waku-org/nwaku.git
synced 2025-01-18 19:01:24 +00:00
15 lines
287 B
Nim
15 lines
287 B
Nim
|
when (NimMajor, NimMinor) < (1, 4):
|
||
|
{.push raises: [Defect].}
|
||
|
else:
|
||
|
{.push raises: [].}
|
||
|
|
||
|
import
|
||
|
std/[os, strutils],
|
||
|
json_rpc/rpcclient
|
||
|
import
|
||
|
./types
|
||
|
|
||
|
template sourceDir: string = currentSourcePath.rsplit(DirSep, 1)[0]
|
||
|
|
||
|
createRpcSigs(RpcHttpClient, sourceDir / "callsigs.nim")
|