remove redundant -p:compiler in koch.nim given modules use import compiler/foo
This commit is contained in:
parent
cb4d810659
commit
f9bf095853
1 changed files with 3 additions and 3 deletions
6
koch.nim
6
koch.nim
|
|
@ -144,12 +144,12 @@ proc buildNimble(latest: bool) =
|
|||
else:
|
||||
exec("git checkout -f stable")
|
||||
exec("git pull")
|
||||
nimexec("c --noNimblePath -p:compiler --nilseqs:on -d:release " & installDir / "src/nimble.nim")
|
||||
nimexec("c --noNimblePath --nilseqs:on -d:release " & installDir / "src/nimble.nim")
|
||||
copyExe(installDir / "src/nimble".exe, "bin/nimble".exe)
|
||||
|
||||
proc bundleNimsuggest(buildExe: bool) =
|
||||
if buildExe:
|
||||
nimexec("c --noNimblePath -d:release -p:compiler nimsuggest/nimsuggest.nim")
|
||||
nimexec("c --noNimblePath -d:release nimsuggest/nimsuggest.nim")
|
||||
copyExe("nimsuggest/nimsuggest".exe, "bin/nimsuggest".exe)
|
||||
removeFile("nimsuggest/nimsuggest".exe)
|
||||
|
||||
|
|
@ -198,7 +198,7 @@ proc buildTool(toolname, args: string) =
|
|||
copyFile(dest="bin" / splitFile(toolname).name.exe, source=toolname.exe)
|
||||
|
||||
proc buildTools(latest: bool) =
|
||||
nimexec "c --noNimblePath -p:compiler -d:release -o:" & ("bin/nimsuggest".exe) &
|
||||
nimexec "c --noNimblePath -d:release -o:" & ("bin/nimsuggest".exe) &
|
||||
" nimsuggest/nimsuggest.nim"
|
||||
|
||||
nimexec "c -d:release -o:" & ("bin/nimgrep".exe) & " tools/nimgrep.nim"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue