public static void DocFxBuild(this ICakeContext context, FilePath configFile, DocFxBuildSettings settings) { Contract.NotNull(context, nameof(context)); settings = settings ?? new DocFxBuildSettings(); var runner = new DocFxBuildRunner(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); runner.Run(configFile, settings); }
protected override void RunTool() { var tool = new DocFxBuildRunner(FileSystem, Environment, ProcessRunner, Tools); tool.Run(ConfigFilePath, Settings); }