コード例 #1
0
    public void Configure(ICakeServices services)
    {
        services.UseAssembly(typeof(DotNetCoreBuild).Assembly);
        services.UseContext <DotNetCoreContext>();
        services.UseLifetime <DotNetCoreLifetime>();
        services.UseWorkingDirectory("..");

        DotNetCoreLifetime.RegisterActions(new LifetimeActions());
    }
コード例 #2
0
 private void RegisterLifetimeActions()
 {
     DotNetCoreLifetime.RegisterActions(new LifetimeActions());
 }