diff --git a/source/dub/commandline.d b/source/dub/commandline.d index b28361e..15605d4 100644 --- a/source/dub/commandline.d +++ b/source/dub/commandline.d @@ -2146,7 +2146,7 @@ justify += (~justify & 3) + 1; // round to next multiple of 4 foreach (desc, matches; res) { - logInfoNoTag("%s", desc); + logInfoNoTag("==== %s ====", desc); foreach (m; matches) logInfoNoTag(" %s%s", leftJustify(m.name ~ " (" ~ m.version_ ~ ")", justify), m.description); } diff --git a/source/dub/generators/build.d b/source/dub/generators/build.d index 80b6781..272f93c 100644 --- a/source/dub/generators/build.d +++ b/source/dub/generators/build.d @@ -228,7 +228,8 @@ else target_path = pack.path ~ format(".dub/build/%s/", build_id); if (!settings.force && isUpToDate(target_path, buildsettings, settings, pack, packages, additional_dep_files)) { - logInfo("Up-to-date", Color.green, "%s %s [%s]", pack.name.color(Mode.bold), pack.version_, config.color(Color.blue)); + logInfo("Up-to-date", Color.green, "%s %s: target for configuration [%s] is up to date.", + pack.name.color(Mode.bold), pack.version_, config.color(Color.blue)); logDiagnostic("Using existing build in %s.", target_path.toNativeString()); target_binary_path = target_path ~ settings.compiler.getTargetFileName(buildsettings, settings.platform); if (!settings.tempBuild) @@ -243,7 +244,7 @@ return false; } - logInfo("Building", Color.green, "%s %s [%s]", pack.name.color(Mode.bold), pack.version_, config.color(Color.blue)); + logInfo("Building", Color.green, "%s %s: building configuration [%s]", pack.name.color(Mode.bold), pack.version_, config.color(Color.blue)); if( buildsettings.preBuildCommands.length ){ logInfo("Pre-build", Color.green, "Running commands"); diff --git a/test/feat663-search.sh b/test/feat663-search.sh index 21cea3e..77289a6 100755 --- a/test/feat663-search.sh +++ b/test/feat663-search.sh @@ -10,6 +10,6 @@ if ! OUTPUT=$(${DUB} search '"dub-registry"' -v 2>&1); then die $LINENO '`dub search "dub-registry"` failed' "$OUTPUT" fi -if ! grep -q '^dub-registry (.*)\s'<<<"$OUTPUT"; then - die $LINENO '`grep -q '"'"'^dub-registry (.*)\s'"'"'` failed' "$OUTPUT" +if ! grep -q '^\s\sdub-registry (.*)\s'<<<"$OUTPUT"; then + die $LINENO '`grep -q '"'"'^\s\sdub-registry (.*)\s'"'"'` failed' "$OUTPUT" fi