ajwillia-ms pushed a commit to branch master.

http://git.enlightenment.org/tools/edi.git/commit/?id=8b7fbed43b52984f2181a7fb2878d3e6751fc87d

commit 8b7fbed43b52984f2181a7fb2878d3e6751fc87d
Author: Andy Williams <a...@andywilliams.me>
Date:   Fri Sep 30 10:34:11 2016 +0100

    files: Also ignore .a and .la for a make project
---
 src/lib/edi_build_provider_make.c | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/src/lib/edi_build_provider_make.c 
b/src/lib/edi_build_provider_make.c
index 9f26962..730dd82 100644
--- a/src/lib/edi_build_provider_make.c
+++ b/src/lib/edi_build_provider_make.c
@@ -52,6 +52,17 @@ _make_file_hidden_is(const char *relative)
               return EINA_TRUE;
           }
      }
+   if (relative[len-1] == 'a' && len >= 2)
+     {
+        if (relative[len-2] == '.')
+          return EINA_TRUE;
+        else
+          {
+            if ((relative[len-2] == 'l') &&
+              len >= 3 && relative[len-3] == '.')
+              return EINA_TRUE;
+          }
+     }
    return EINA_FALSE;
 }
 

-- 


Reply via email to