diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2018-06-19 20:06:04 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-06-19 20:06:04 +0200 |
commit | 837d0c7270a67ea632d492586843807075eefb88 (patch) | |
tree | 623d37614015a3ab382e49cc7d2eedcfdbc84173 /koch.nim | |
parent | 0c33244c23542ef3d09ef824718a87acb38b25ac (diff) | |
download | Nim-837d0c7270a67ea632d492586843807075eefb88.tar.gz |
nimpretty: proper command line handling; added tests; travis ensures these stay green
Diffstat (limited to 'koch.nim')
-rw-r--r-- | koch.nim | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/koch.nim b/koch.nim index 4f85c6583..97e1da776 100644 --- a/koch.nim +++ b/koch.nim @@ -254,15 +254,13 @@ proc buildTool(toolname, args: string) = copyFile(dest="bin" / splitFile(toolname).name.exe, source=toolname.exe) proc buildTools(latest: bool) = - let nimsugExe = "bin/nimsuggest".exe - nimexec "c --noNimblePath -p:compiler -d:release -o:" & nimsugExe & + nimexec "c --noNimblePath -p:compiler -d:release -o:" & ("bin/nimsuggest".exe) & " nimsuggest/nimsuggest.nim" - let nimgrepExe = "bin/nimgrep".exe - nimexec "c -d:release -o:" & nimgrepExe & " tools/nimgrep.nim" + nimexec "c -d:release -o:" & ("bin/nimgrep".exe) & " tools/nimgrep.nim" when defined(windows): buildVccTool() - #nimexec "c -o:" & ("bin/nimresolve".exe) & " tools/nimresolve.nim" + nimexec "c -o:" & ("bin/nimpretty".exe) & " nimpretty/nimpretty.nim" buildNimble(latest) |