aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Viswanathan <dev@genotrance.com>2019-04-10 11:46:45 -0500
committerGanesh Viswanathan <dev@genotrance.com>2019-04-10 11:46:45 -0500
commit1114b7edbe02bb775bc7bf1c590caf5abecf08cd (patch)
tree99b38e304fc4069e6c383f980aa07c1ae29bf415
parent2bad84c4c174009890cb07ca7016b8353fb6da40 (diff)
downloadnimterop-1114b7edbe02bb775bc7bf1c590caf5abecf08cd.tar.gz
nimterop-1114b7edbe02bb775bc7bf1c590caf5abecf08cd.zip
Comment non-nim output in cimport
-rw-r--r--nimterop/cimport.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/nimterop/cimport.nim b/nimterop/cimport.nim
index 90b10d8..1f0de30 100644
--- a/nimterop/cimport.nim
+++ b/nimterop/cimport.nim
@@ -138,7 +138,7 @@ proc getToast(fullpath: string, recurse: bool = false): string =
cmd.add &" --pluginSourcePath={gStateCT.pluginSourcePath.quoteShell}"
cmd.add &" {fullpath.quoteShell}"
- echo cmd
+ echo "# " & cmd
# see https://github.com/nimterop/nimterop/issues/69
(result, ret) = gorgeEx(cmd, cache=getCacheValue(fullpath))
doAssert ret == 0, getToastError(result)
@@ -468,7 +468,7 @@ macro cImport*(filename: static string, recurse: static bool = false): untyped =
let
fullpath = findPath(filename)
- echo "Importing " & fullpath
+ echo "# Importing " & fullpath
let
output = getToast(fullpath, recurse)