public static void ChocolateyPush(this ICakeContext context, FilePath packageFilePath, ChocolateyPushSettings settings) { if (context == null) { throw new ArgumentNullException(nameof(context)); } var resolver = new ChocolateyToolResolver(context.FileSystem, context.Environment); var packer = new ChocolateyPusher(context.FileSystem, context.Environment, context.ProcessRunner, context.Tools, resolver); packer.Push(packageFilePath, settings); }
public ChocolateyPusherFixture() { PackageFilePath = "./existing.nupkg"; Settings = new ChocolateyPushSettings(); }