summary refs log tree commit diff stats
path: root/tools/kochdocs.nim
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2019-01-10 00:35:37 -0800
committerAndreas Rumpf <rumpf_a@web.de>2019-01-10 09:35:37 +0100
commitd2b95cb476f3b232862c2e4d4fe6fb67daa01988 (patch)
treedc6435a59a078558ef4633c25189bc8a692b29a5 /tools/kochdocs.nim
parent3ed5f83704f575c56dfd44a43535966a9b65c025 (diff)
downloadNim-d2b95cb476f3b232862c2e4d4fe6fb67daa01988.tar.gz
fixes #10039 : CI now runs buildTools (eg, nimfind wasn't being compiled before); refactoring (#10242)
Diffstat (limited to 'tools/kochdocs.nim')
-rw-r--r--tools/kochdocs.nim6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/kochdocs.nim b/tools/kochdocs.nim
index 19b0b3d78..6741fcf5d 100644
--- a/tools/kochdocs.nim
+++ b/tools/kochdocs.nim
@@ -51,12 +51,6 @@ proc execCleanPath*(cmd: string,
   if execShellCmd(cmd) != 0: quit("FAILURE", errorcode)
   putEnv("PATH", prevPath)
 
-let kochExe* = os.getAppFilename()
-  # note: assumes `kochdocs` is only used by koch.nim
-
-proc kochExec*(cmd: string) =
-  exec kochExe.quoteShell & " " & cmd
-
 proc nimexec*(cmd: string) =
   # Consider using `nimCompile` instead
   exec findNim() & " " & cmd