Exemplo n.º 1
0
        public static void DotNetCoreBuild(this ICakeContext context, string project, DotNetCoreBuildSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

            if (settings == null)
            {
                settings = new DotNetCoreBuildSettings();
            }

            var builder = new DotNetCoreBuilder(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);
            builder.Build(project, settings);
        }
        protected override void RunTool()
        {
            var tool = new DotNetCoreBuilder(FileSystem, Environment, ProcessRunner, Tools);

            tool.Build(Project, Settings);
        }