mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-09 20:06:52 +00:00
28 lines
810 B
Nim
28 lines
810 B
Nim
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"]
|
|
|
|
requires "nim >= 0.18.1",
|
|
"https://github.com/cheatfate/nimcrypto",
|
|
"https://github.com/status-im/nim-rlp",
|
|
"https://github.com/status-im/nim-ttmath#master",
|
|
"https://github.com/status-im/nim-eth-p2p"
|
|
|
|
proc test(name: string, lang = "cpp") =
|
|
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"
|