FlubuCore v3.2.0.0 Release Notes

    • โž• Added coverlet task .AddCoreTask(x => x.CoverletTask("assembly.dll")
    • โž• Adds flubu setup where you can set location of the build script and project file. run flubu setup
    • โž• Added When condition to all tasks.

      var compile = context
              .CreateTarget("compile")
              .SetDescription("Compiles the VS solution")
              .AddCoreTask(x => x.Build().Configuration("Release").When(
              () =>
              {
                  return context.BuildSystems().IsLocalBuild;
      
              }, task => { task.Configuration("Debug"); }));
      
    • Fixed bug where nuget and assemlby references were not loaded if csproj didnt have both of them

    • Adds OnBuildFailed event.

      ๐Ÿ— public class BuildScript : DefaultBuildScript
      {
      protected override void OnBuildFailed(ITaskSession session, Exception ex)
      {
      } 
      }
      
    • โž• Adds before and after target execution events.

      protected override void BeforeTargetExecution(ITaskContext context)
      {
      }
      
      protected override void AfterTargetExecution(ITaskContext context)
      {
      }
      
    • โž• Adds before and after build execution events.

      protected override void BeforeBuildExecution(ITaskContext context)
      {
      }
      
      protected override void AfterBuildExecution(ITaskSession session)
      {
      }
      
    • Improved nunit tasks fluent intefaces.

    • Added skipped target dependencies and tasks logging.

    • Publicly exposed task name.

    • fixed one of the default build script csproj locations.