public static void DNUBuild(this ICakeContext context, string path, DNUBuildSettings settings) { if (context == null) { throw new ArgumentNullException("context"); } if (settings == null) { settings = new DNUBuildSettings(); } var restorer = new DNUBuilder(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools); restorer.Build(path, settings); }
protected override void RunTool() { var tool = new DNUBuilder(FileSystem, Environment, ProcessRunner, Globber); tool.Build(Path, Settings); }