Beispiel #1
0
 void AddFilesAndFolders(FilesAndFolderChanges changes)
 {
     foreach (var entry in changes.Entries)
     {
         _pbxproj.AddFileOrFolder(entry);
     }
 }
 public void Merge(FilesAndFolderChanges other)
 {
     foreach (var entry in other._entries)
     {
         if (_entries.FindIndex(o => o.Path == entry.Path) < 0)
         {
             _entries.Add(entry.Clone());
         }
     }
 }
Beispiel #3
0
 public XcodeChangeFile()
 {
     IsDirty          = false;
     SavePath         = "";
     Platform         = BuildPlatform.iOS;
     Frameworks       = new FrameworkChanges();
     FilesAndFolders  = new FilesAndFolderChanges();
     Scripts          = new ScriptChanges();
     BuildSettings    = new BuildSettingsChanges();
     InfoPlistChanges = new PListDictionary();
     Signing          = new SigningChanges();
     Capabilities     = new CapabilitiesChanges();
 }
Beispiel #4
0
        void LoadFilesAndFolders(PListDictionary dic)
        {
            if (dic == null)
            {
                return;
            }

            try
            {
                FilesAndFolders = new FilesAndFolderChanges(dic);
            }
            catch
            {
                Debug.LogWarning("EgoXproject: Corrupt files and folders section in " + SavePath);
            }
        }