[banshee] [solitary] ignore libtool files, remove output dir first



commit 42278598876a1df5cd7c742cfa2ca270031cf597
Author: Aaron Bockover <abockover novell com>
Date:   Tue Dec 29 20:14:38 2009 -0500

    [solitary] ignore libtool files, remove output dir first

 build/bundle/solitary/Item.cs     |    3 +++
 build/bundle/solitary/Solitary.cs |    1 +
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/build/bundle/solitary/Item.cs b/build/bundle/solitary/Item.cs
index 9c65721..2ffe20e 100644
--- a/build/bundle/solitary/Item.cs
+++ b/build/bundle/solitary/Item.cs
@@ -75,6 +75,9 @@ public abstract class Item
             case ".exe":
                 item = new AssemblyItem ();
                 break;
+            case ".la":
+            case ".a":
+                break;
             default:
                 item = new NativeLibraryItem ();
                 break;
diff --git a/build/bundle/solitary/Solitary.cs b/build/bundle/solitary/Solitary.cs
index 9ca7fd9..62740e6 100644
--- a/build/bundle/solitary/Solitary.cs
+++ b/build/bundle/solitary/Solitary.cs
@@ -140,6 +140,7 @@ public class Solitary
 
     public void CreateBundle (bool strip)
     {
+        Directory.Delete (OutputPath, true);
         Directory.CreateDirectory (OutputPath);
 
         foreach (var item in Items) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]