diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2018-11-06 19:56:21 -0800 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-11-07 19:52:11 +0100 |
commit | f9bf09585386e7616e518e7d3b65547f2780bc34 (patch) | |
tree | b8adb0786028f46beffae09f260fe487cf605209 | |
parent | cb4d81065967e9b40b1e488fc66f1d926f19f536 (diff) | |
download | Nim-f9bf09585386e7616e518e7d3b65547f2780bc34.tar.gz |
remove redundant -p:compiler in koch.nim given modules use import compiler/foo
-rw-r--r-- | koch.nim | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/koch.nim b/koch.nim index 396f40bbf..0c33b9c8d 100644 --- a/koch.nim +++ b/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" |