mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-24 03:00:25 +00:00
* Add the new experimental forloopmacros flag for Stint * Use a .nimble switch instead of .cfg
This commit is contained in:
parent
c9de0fbd29
commit
18e93903c9
1
nim.cfg
Normal file
1
nim.cfg
Normal file
@ -0,0 +1 @@
|
|||||||
|
# --experimental:ForLoopMacros # Deactivated for CI - https://github.com/status-im/nimbus/pull/110#issuecomment-414326444
|
@ -29,6 +29,7 @@ proc test(name: string, lang = "c") =
|
|||||||
--run
|
--run
|
||||||
--nimcache: "nimcache"
|
--nimcache: "nimcache"
|
||||||
switch("out", ("./build/" & name))
|
switch("out", ("./build/" & name))
|
||||||
|
switch("experimental", "ForLoopMacros")
|
||||||
setCommand lang, "tests/" & name & ".nim"
|
setCommand lang, "tests/" & name & ".nim"
|
||||||
|
|
||||||
task test, "Run tests":
|
task test, "Run tests":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user