public bool Run(BuildPipeline.BuildContext context)
 {
     BuildProgramDataFileWriter.WriteAll(context.OutputDirectory.FullName);
     WriteBeeExportManifestFile(context);
     WriteBeeBuildSettingsFile(context);
     return(true);
 }
示例#2
0
        //Convenience method for CI workflow so they can quickly create all files required by the buildprogram
        //to build the samples without using the editor UI
        private static void UpdateAsmDefsJson()
        {
            var dir             = UnityEngine.Application.dataPath;
            var bootstrapFolder = Path.GetFullPath(dir + "/../Bootstrap");

            if (!Directory.Exists(bootstrapFolder))
            {
                Directory.CreateDirectory(bootstrapFolder);
            }

            BuildProgramDataFileWriter.WriteAll(bootstrapFolder);
            Debug.Log("Bee files written to: " + bootstrapFolder);
        }