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: