mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-17 06:52:18 +01:00
Added library version to "Using library X..." verbose notification
This commit is contained in:
parent
ddd19f6057
commit
c4de750253
@ -388,16 +388,22 @@ public class Compiler implements MessageConsumer {
|
||||
for (UserLibrary lib : importedLibraries) {
|
||||
if (verbose) {
|
||||
String legacy = "";
|
||||
if (lib instanceof LegacyUserLibrary)
|
||||
if (lib instanceof LegacyUserLibrary) {
|
||||
legacy = "(legacy)";
|
||||
System.out.println(I18n
|
||||
.format(_("Using library {0} in folder: {1} {2}"), lib.getName(),
|
||||
lib.getInstalledFolder(), legacy));
|
||||
}
|
||||
|
||||
if (lib.getParsedVersion() == null) {
|
||||
System.out.println(I18n.format(_("Using library {0} in folder: {1} {2}"), lib.getName(), lib.getInstalledFolder(), legacy));
|
||||
} else {
|
||||
System.out.println(I18n.format(_("Using library {0} at version {1} in folder: {2} {3}"), lib.getName(), lib.getParsedVersion(), lib.getInstalledFolder(), legacy));
|
||||
}
|
||||
}
|
||||
includeFolders.add(lib.getSrcFolder());
|
||||
}
|
||||
if (verbose)
|
||||
|
||||
if (verbose) {
|
||||
System.out.println();
|
||||
}
|
||||
|
||||
List<String> archs = new ArrayList<String>();
|
||||
archs.add(BaseNoGui.getTargetPlatform().getId());
|
||||
|
Loading…
x
Reference in New Issue
Block a user