Specify some binaries in the nimble file
This commit is contained in:
parent
262f7b0826
commit
69cc7c0c13
|
@ -20,6 +20,14 @@ requires "nim >= 1.2.0",
|
||||||
"stew",
|
"stew",
|
||||||
"stint"
|
"stint"
|
||||||
|
|
||||||
|
binDir = "build"
|
||||||
|
|
||||||
|
namedBin = {
|
||||||
|
"nimbus/nimbus": "nimbus",
|
||||||
|
"fluffy/fluffy": "fluffy",
|
||||||
|
"fluffy/tools/portalcli": "portalcli",
|
||||||
|
}.toTable()
|
||||||
|
|
||||||
proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") =
|
proc buildBinary(name: string, srcDir = "./", params = "", lang = "c") =
|
||||||
if not dirExists "build":
|
if not dirExists "build":
|
||||||
mkDir "build"
|
mkDir "build"
|
||||||
|
|
Loading…
Reference in New Issue