mode = ScriptMode.Verbose version = "0.1.0" author = "Status Research & Development GmbH" description = "General purpose background task runner for Nim programs" license = "Apache License 2.0 or MIT" skipDirs = @["test"] requires "nim >= 1.2.0", "chronos" proc buildAndRunTest(name: string, srcDir = "test/", outDir = "test/build/", params = "", cmdParams = "", lang = "c") = rmDir outDir mkDir outDir # allow something like "nim test --verbosity:0 --hints:off beacon_chain.nims" var extra_params = params for i in 2..