nim-eth-keys/eth_keys.nimble

23 lines
673 B
Plaintext
Raw Normal View History

packageName = "eth_keys"
2018-02-08 09:51:13 +00:00
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", "keccak_tiny >= 0.1.0", "ttmath >= 0.1.0", "nimSHA2", "secp256k1"
2018-02-08 09:51:13 +00:00
proc test(name: string, lang: string = "cpp") =
2018-02-08 09:51:13 +00:00
if not dirExists "build":
mkDir "build"
2018-02-08 09:51:13 +00:00
if not dirExists "nimcache":
mkDir "nimcache"
--run
--nimcache: "nimcache"
switch("out", ("./build/" & name))
setCommand lang, "tests/" & name & ".nim"
task test, "Run all tests":
test "all_tests"