19 lines
553 B
Nim
19 lines
553 B
Nim
packageName = "eth-keys"
|
|
version = "0.0.1"
|
|
author = "Status Research & Development GmbH"
|
|
description = "A reimplementation in pure Nim of eth-keys, the common API for Ethereum key operations."
|
|
license = "MIT"
|
|
srcDir = "src"
|
|
|
|
### Dependencies
|
|
requires "nim >= 0.17.2"
|
|
|
|
proc test(name: string, lang: string = "c") =
|
|
if not dirExists "build":
|
|
mkDir "bin"
|
|
if not dirExists "nimcache":
|
|
mkDir "nimcache"
|
|
--run
|
|
--nimcache: "nimcache"
|
|
switch("out", ("./build/" & name))
|
|
setCommand lang, "tests/" & name & ".nim" |