style: just formatting changes

This commit is contained in:
Daylin Morgan 2023-09-17 16:01:06 -05:00
parent 44469e5ab0
commit 42edeb0726
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F
2 changed files with 5 additions and 3 deletions

View file

@ -89,7 +89,7 @@ proc release(
if dryrun: if dryrun:
termEcho styleBright, fgBlue, "dry run...see below for commands" termEcho styleBright, fgBlue, "dry run...see below for commands"
let let
baseCmd = if nimble or cfg.nimble: "nimble" else: "nim" baseCmd = if nimble or cfg.nimble: "nimble" else: "nim"
rest = parseArgs(args) rest = parseArgs(args)
@ -144,7 +144,9 @@ when isMainModule:
vsnCfg.version = vsn vsnCfg.version = vsn
dispatchMulti(["multi", cf = vsnCfg], [cc, help = { dispatchMulti(
["multi", cf = vsnCfg],
[cc, help = {
"dryrun": "show command instead of executing", "dryrun": "show command instead of executing",
"nimble": "use nimble as base command for compiling" "nimble": "use nimble as base command for compiling"
}], }],

View file

@ -30,7 +30,7 @@ type
proc `$`*(t: Triplet): string = &"{t.cpu}-{t.os}-{t.libc}" proc `$`*(t: Triplet): string = &"{t.cpu}-{t.os}-{t.libc}"
proc checkTargets*(targets: seq[string]) = proc checkTargets*(targets: seq[string]) =
let knownTargets = zigTargets() let knownTargets = zigTargets()
var unknownTargets: seq[string] var unknownTargets: seq[string]
for target in targets: for target in targets: