Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Geod24 committed Feb 9, 2024
1 parent de8f71d commit f19e312
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/dub/commandline.d
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 5 additions & 1 deletion test/issue2840-build-collision/build.d
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env dub
/++ dub.json:
{
"name": "build"
Expand All @@ -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]));
}

0 comments on commit f19e312

Please sign in to comment.