nimpretty: proper command line handling; added tests; travis ensures these stay green
This commit is contained in:
parent
0c33244c23
commit
837d0c7270
8 changed files with 622 additions and 17 deletions
8
koch.nim
8
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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue