switch to nph
This commit is contained in:
parent
1d054cc63c
commit
5ccc3ad2d9
1 changed files with 2 additions and 1 deletions
|
@ -34,7 +34,8 @@ let
|
|||
proc formatNimCode(pattern = r"^src/.*\.nim$") =
|
||||
let srcFiles = gorgeExCd(fmt"nimgrep --filenames -r '{pattern}' --noColor").output.split("\n")[0..^2]
|
||||
for file in srcFiles:
|
||||
let cmd = "nimpretty $1" % [file]
|
||||
let cmd = "nph $1" % [file]
|
||||
# let cmd = "nimpretty $1" % [file]
|
||||
echo "Running $1 .." % [cmd]
|
||||
exec(cmd)
|
||||
|
||||
|
|
Loading…
Reference in a new issue