BuildResult CreateFullTundraGraph(int incrementalPassNumber, BuildContext context)
        {
            using (new ProfilerMarker("CreateFullTundraGraph").Auto())
            {
                BuildResult result;
                var(fullBackend, requirements) = CreateTundraBackend(context, context.BuildConfigurationName);
                using (requirements)
                {
                    context.GetValue <IncrementalClassicSharedData>().Backend = fullBackend;
                    //@TODO: should we do something about a failure here?
                    {
                        result = BuildSteps.Run(context);
                    }

                    using (new ProfilerMarker("backendWrite").Auto())
                        fullBackend.Write(TundraDagJson(context));
                    BackupTundraFile(TundraDagJson(context), incrementalPassNumber);

                    return(result);
                }
            }
        }
 protected override BuildResult OnBuild(BuildContext context)
 {
     PrepareContext(context);
     return(BuildSteps.Run(context));
 }
Exemplo n.º 3
0
 protected override BuildResult OnBuild(BuildContext context) => BuildSteps.Run(context);