From 42edeb0726e0f330fd4473f58092d942bcfc9f9c Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Sun, 17 Sep 2023 16:01:06 -0500 Subject: [PATCH] style: just formatting changes --- src/forge.nim | 6 ++++-- src/forge/utils.nim | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/forge.nim b/src/forge.nim index 07245ae..c75e040 100644 --- a/src/forge.nim +++ b/src/forge.nim @@ -89,7 +89,7 @@ proc release( if dryrun: termEcho styleBright, fgBlue, "dry run...see below for commands" - + let baseCmd = if nimble or cfg.nimble: "nimble" else: "nim" rest = parseArgs(args) @@ -144,7 +144,9 @@ when isMainModule: vsnCfg.version = vsn - dispatchMulti(["multi", cf = vsnCfg], [cc, help = { + dispatchMulti( + ["multi", cf = vsnCfg], + [cc, help = { "dryrun": "show command instead of executing", "nimble": "use nimble as base command for compiling" }], diff --git a/src/forge/utils.nim b/src/forge/utils.nim index f7e076d..1d98b58 100644 --- a/src/forge/utils.nim +++ b/src/forge/utils.nim @@ -30,7 +30,7 @@ type proc `$`*(t: Triplet): string = &"{t.cpu}-{t.os}-{t.libc}" -proc checkTargets*(targets: seq[string]) = +proc checkTargets*(targets: seq[string]) = let knownTargets = zigTargets() var unknownTargets: seq[string] for target in targets: