]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
Show loaded packages in verbose mode
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 28 Aug 2011 16:37:56 +0000 (18:37 +0200)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 28 Aug 2011 17:02:36 +0000 (19:02 +0200)
Fixes bug 657523.

vala/valacodecontext.vala

index 62eeaee77f508ea08f4f8505432cca550714024a..dde3253a0c572860b5000588e50a59b28902771c 100644 (file)
@@ -341,6 +341,10 @@ public class Vala.CodeContext {
 
                add_source_file (new SourceFile (this, SourceFileType.PACKAGE, path));
 
+               if (verbose_mode) {
+                       stdout.printf ("Loaded package `%s'\n", path);
+               }
+
                var deps_filename = Path.build_filename (Path.get_dirname (path), "%s.deps".printf (pkg));
                if (!add_packages_from_file (deps_filename)) {
                        return false;