Skip to content

Commit

Permalink
style: just formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
daylinmorgan committed Sep 17, 2023
1 parent 44469e5 commit 42edeb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/forge.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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"
}],
Expand Down
2 changes: 1 addition & 1 deletion src/forge/utils.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 42edeb0

Please sign in to comment.