[vala] Show loaded packages in verbose mode
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] Show loaded packages in verbose mode
- Date: Sun, 28 Aug 2011 17:04:21 +0000 (UTC)
commit 9c0b8dc519aecd63ea60adc1061351248a3346f0
Author: Luca Bruno <lucabru src gnome org>
Date: Sun Aug 28 18:37:56 2011 +0200
Show loaded packages in verbose mode
Fixes bug 657523.
vala/valacodecontext.vala | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vala/valacodecontext.vala b/vala/valacodecontext.vala
index 62eeaee..dde3253 100644
--- a/vala/valacodecontext.vala
+++ b/vala/valacodecontext.vala
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]