fixes .nimble file
This commit is contained in:
parent
40179c36df
commit
4951205ba6
|
@ -0,0 +1,29 @@
|
|||
mode = ScriptMode.Verbose
|
||||
|
||||
packageName = "evmc"
|
||||
version = "0.0.2"
|
||||
author = "Status Research & Development GmbH"
|
||||
description = "A wrapper for the The Ethereum EVMC library"
|
||||
license = "Apache License 2.0"
|
||||
skipDirs = @["tests"]
|
||||
|
||||
requires "nim >= 0.19",
|
||||
"stew"
|
||||
|
||||
proc test(name: string, lang: string = "c") =
|
||||
if not dirExists "build":
|
||||
mkDir "build"
|
||||
--run
|
||||
switch("out", ("./build/" & name))
|
||||
setCommand lang, "tests/" & name & ".nim"
|
||||
|
||||
task test_debug, "Run all tests - test implementation":
|
||||
test "test_host_vm"
|
||||
|
||||
task test_release, "Run all tests - prod implementation":
|
||||
switch("define", "release")
|
||||
test "test_host_vm"
|
||||
|
||||
task test, "Run all tests - test and production implementation":
|
||||
exec "nimble test_debug"
|
||||
exec "nimble test_release"
|
|
@ -1,17 +0,0 @@
|
|||
mode = ScriptMode.Verbose
|
||||
|
||||
packageName = "evmjit"
|
||||
version = "0.0.1"
|
||||
author = "Status Research & Development GmbH"
|
||||
description = "A wrapper for the The Ethereum EVM JIT library"
|
||||
license = "Apache License 2.0"
|
||||
skipDirs = @["tests"]
|
||||
|
||||
requires "nim >= 0.17.0"
|
||||
|
||||
proc configForTests() =
|
||||
--hints: off
|
||||
--debuginfo
|
||||
--path: "."
|
||||
--run
|
||||
|
Loading…
Reference in New Issue