nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b379e94
)
nitc: `exec_and_check` print the command on verbose level > 1
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 10 Jan 2015 14:09:49 +0000
(09:09 -0500)
committer
Alexis Laferrière
<alexis.laf@xymus.net>
Mon, 12 Jan 2015 19:48:57 +0000
(14:48 -0500)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>
src/toolcontext.nit
patch
|
blob
|
history
diff --git
a/src/toolcontext.nit
b/src/toolcontext.nit
index
8f08e30
..
021c2c7
100644
(file)
--- a/
src/toolcontext.nit
+++ b/
src/toolcontext.nit
@@
-243,6
+243,8
@@
class ToolContext
# Stops execution and prints errors if the program isn't available or didn't end correctly
fun exec_and_check(args: Array[String], error: String)
do
+ info("+ {args.join(" ")}", 2)
+
var prog = args.first
args.remove_at 0