public void Configure(ICakeServices services) { services.UseAssembly(typeof(DotNetCoreBuild).Assembly); services.UseContext <DotNetCoreContext>(); services.UseLifetime <DotNetCoreLifetime>(); services.UseWorkingDirectory(".."); DotNetCoreLifetime.RegisterActions(new LifetimeActions()); }
private void RegisterLifetimeActions() { DotNetCoreLifetime.RegisterActions(new LifetimeActions()); }