From 8c8a2e4c52728df36d8893d9ea0b27bd6cd5f426 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 26 May 2015 14:03:08 +0800 Subject: [PATCH] src/Project/Gtk.vala --- src/Project/Gtk.vala | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Project/Gtk.vala b/src/Project/Gtk.vala index cbb017b56..ae506c44f 100644 --- a/src/Project/Gtk.vala +++ b/src/Project/Gtk.vala @@ -268,19 +268,26 @@ namespace Project { try { if (Regex.match_simple("\\.vala\\.c$", fn)) { + GLib.debug("SKIP %s - vala.c",fn); + continue; } if (Regex.match_simple("\\.bjs$", fn)) { + GLib.debug("SKIP %s - .bjs",fn); continue; } if (Regex.match_simple("\\.o$", fn)) { + GLib.debug("SKIP %s - .o",fn); continue; } if (Regex.match_simple("\\~$", fn)) { + GLib.debug("SKIP %s - ~",fn); continue; } + if (Regex.match_simple("^\\.", GLib.Path.get_basename(fn))) { + GLib.debug("SKIP %s - hidden",fn); continue; } if (Regex.match_simple("\\.vala$", fn)) { -- 2.39.2