fixes .nimble file

This commit is contained in:
andri lim 2019-12-16 16:11:59 +07:00
parent 40179c36df
commit 4951205ba6
No known key found for this signature in database
GPG Key ID: 31702AE10541E6B9
2 changed files with 29 additions and 17 deletions

29
evmc.nimble Normal file
View File

@ -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"

View File

@ -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