Example #1
0
        private void LoadManifest()
        {
            if (!File.Exists(ManifestPath))
            {
                Debug.LogErrorFormat("No manifest at ManifestPath {0}.", ManifestPath);
            }

            Manifest = BuildManifest.ReadFromFile(ManifestPath);
        }
Example #2
0
 public BuildManifestView(BuildManifest manifest)
 {
     Manifest = manifest;
 }
Example #3
0
        public static void WriteToFile(BuildManifest manifest, string path)
        {
            var json = JsonConvert.SerializeObject(manifest, Formatting.Indented);

            File.WriteAllText(path, json);
        }
Example #4
0
 private void SaveManifest()
 {
     BuildManifest.WriteToFile(Manifest, ManifestPath);
 }
Example #5
0
 private void CreateManifest()
 {
     Manifest = new BuildManifest();
 }