mirror of
https://github.com/daylinmorgan/forge.git
synced 2024-11-14 13:07:54 -06:00
style: just formatting changes
This commit is contained in:
parent
44469e5ab0
commit
42edeb0726
2 changed files with 5 additions and 3 deletions
|
@ -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"
|
||||||
}],
|
}],
|
||||||
|
|
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue