mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-14 23:33:28 +00:00
remove redundant -p:compiler in koch.nim given modules use import compiler/foo
This commit is contained in:
committed by
Andreas Rumpf
parent
cb4d810659
commit
f9bf095853
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"
|
||||
|
||||
Reference in New Issue
Block a user