nimbus-eth1/nimbus.nimble

35 lines
953 B
Plaintext
Raw Normal View History

mode = ScriptMode.Verbose
packageName = "nimbus"
version = "0.1.0"
author = "Status Research & Development GmbH"
description = "An Ethereum 2.0 Sharding Client for Resource-Restricted Devices"
license = "Apache License 2.0"
skipDirs = @["tests", "examples"]
2018-06-20 11:12:29 +00:00
bin = @["nimbus/nimbus"]
requires "nim >= 0.18.1",
2018-05-28 10:22:28 +00:00
"nimcrypto",
"rlp",
"stint",
"rocksdb",
"eth_trie",
2018-05-30 16:11:15 +00:00
"https://github.com/status-im/nim-eth-common",
2018-06-20 17:27:32 +00:00
"https://github.com/status-im/nim-eth-rpc",
2018-06-20 17:36:03 +00:00
"https://github.com/status-im/nim-asyncdispatch2",
2018-06-16 19:14:31 +00:00
"eth_p2p",
"eth_keyfile"
2018-01-30 10:51:13 +00:00
proc test(name: string, lang = "c") =
if not dirExists "build":
mkDir "build"
if not dirExists "nimcache":
mkDir "nimcache"
--run
--nimcache: "nimcache"
switch("out", ("./build/" & name))
setCommand lang, "tests/" & name & ".nim"
task test, "Run tests":
test "all_tests"