コード例 #1
0
        public static void DotNetCoreRun(this ICakeContext context, string project, ProcessArgumentBuilder arguments, DotNetCoreRunSettings settings)
        {
            if (context == null)
            {
                throw new ArgumentNullException("context");
            }

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

            var runner = new DotNetCoreRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools);
            runner.Run(project, arguments, settings);
        }
コード例 #2
0
        protected override void RunTool()
        {
            var tool = new DotNetCoreRunner(FileSystem, Environment, ProcessRunner, Tools);

            tool.Run(Project, Arguments, Settings);
        }