From 136137aad83922e593d9b68f3d3aa9a6ac294813 Mon Sep 17 00:00:00 2001 From: Keywan Ghadami Date: Thu, 17 Dec 2015 14:30:28 +0100 Subject: [PATCH] printing the commandlineparamters when executing dub. --- src/dlangide/builders/builder.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/dlangide/builders/builder.d b/src/dlangide/builders/builder.d index da65b41..8bb4ac6 100644 --- a/src/dlangide/builders/builder.d +++ b/src/dlangide/builders/builder.d @@ -66,7 +66,6 @@ class Builder : BackgroundOperationWatcher { ExternalProcessState state = _extprocess.state; if (state == ExternalProcessState.None) { _log.clear(); - _box.writeText("Running dub\n"d); char[] program = "dub".dup; char[][] params; char[] dir = _project.dir.dup; @@ -116,6 +115,8 @@ class Builder : BackgroundOperationWatcher { if (_verbose) params ~= "-v".dup; + auto text = "Running (in " ~ dir ~ "): " ~ program ~ " " ~ params.join(' ') ~ "\n"; + _box.writeText(to!dstring(text)); state = _extprocess.run(program, params, dir, _box, null); if (state != ExternalProcessState.Running) { _box.writeText("Failed to run builder tool\n"d);