Example #1
0
        public IBuilder AddToContext(IBuildContext context, IEnumerable <Project> projects)
        {
            var builders = new List <IBuilder>();

            foreach (var project in projects)
            {
                if (project.HasNonEmptySourceSet("scr"))
                {
                    var builder = new TestBuilder(project, suiteRoot, targetRoot);
                    builder.AddToContext(context);
                    builders.Add(builder);
                }
            }

            return(builders.ToArray().Merge());
        }