switch to nph

This commit is contained in:
Daylin Morgan 2024-01-15 09:52:53 -06:00
parent 1d054cc63c
commit 5ccc3ad2d9
Signed by: daylin
GPG key ID: C1E52E7DD81DF79F

View file

@ -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)