diff --git a/source/dub/commandline.d b/source/dub/commandline.d index f84d70dd3..217e45a07 100644 --- a/source/dub/commandline.d +++ b/source/dub/commandline.d @@ -389,7 +389,7 @@ int runDubCommandLine(string[] args) static string[] toSinglePackageArgs (string args0, string file, string[] trailing) { - return [args0, "run", "-q", "--temp-build", "--single", file, "--"] ~ trailing; + return [args0, "run", "-v", "--temp-build", "--single", file, "--"] ~ trailing; } // Initialize the logging module, ensure that whether stdout/stderr are a TTY diff --git a/test/issue2840-build-collision/build.d b/test/issue2840-build-collision/build.d index 0876eacd3..dd525d62c 100755 --- a/test/issue2840-build-collision/build.d +++ b/test/issue2840-build-collision/build.d @@ -1,4 +1,3 @@ -#!/usr/bin/env dub /++ dub.json: { "name": "build" @@ -11,6 +10,11 @@ immutable FullPath = __FILE_FULL_PATH__; void main (string[] args) { + version (all) { + import std.stdio; + writeln(args); + } + assert(args.length == 2, "Expected a single argument"); assert(args[1] == FullPath, format("%s != %s -- %s", args[1], FullPath, args[0])); }