/// <summary> /// Runs PaketPusher tool /// </summary> protected override void RunTool() { var resolver = new PaketToolResolver(FileSystem, Environment, Tools, ProcessRunner, FakeArguments, new FakeLog()); var pusher = new PaketPusher(FileSystem, Environment, Tools, ProcessRunner, resolver); pusher.Push(FilePath, Settings); }
public static void PaketPush(this ICakeContext context, IEnumerable <FilePath> filePaths, PaketPushSettings settings) { var resolver = GetPaketToolResolver(context); var packer = new PaketPusher(context.FileSystem, context.Environment, context.Tools, context.ProcessRunner, resolver); foreach (var filePath in filePaths) { packer.Push(filePath, settings); } }