mode = ScriptMode.Verbose packageName = "metrics" version = "0.0.1" author = "Status Research & Development GmbH" description = "Metrics client library supporting Prometheus" license = "MIT or Apache License 2.0" skipDirs = @["tests", "benchmarks"] ### Dependencies requires "nim >= 1.2.0", "chronos >= 2.6.0" ### Helper functions proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") = if not dirExists "build": mkDir "build" var extra_params = params if paramStr(1) != "e": # we're under Nim, not Nimble for i in 2..