Changelog History
Page 1
-
v5.1.1 Changes
April 26, 2020- ๐ Improved build summary: added status and duration for each target
- 0๏ธโฃ When .flubu file is empty Flubu looks for scripts, csprojs at default locations relative to .flubu file path
- โ Added build properties type validation
- ๐ Unified BuildVersion build properties
- ๐ predefined build dir and output dir is now combined with root directory
- ๐ Changed extension method names for RootDirectory and OutputDirectory
- ๐ Moved full .Net specific build property(BuildProps) constants to seperate class (DotNetBuildProps)
- ๐ Fixed bug: predefined build property can now be overriden through BuildProperty attribute
- ๐ Fixed bug: RootDirectory is not set on linux when using .flubu file
- Interactive mode: command history is not reset anymore on load / reload script bug
-
v5.0.4
April 11, 2020 -
v4.3.3
November 27, 2019 -
v4.2.1
September 26, 2019 -
v4.0.3 Changes
June 29, 2019๐ New major release with some really cool new features. Changelog can be found at: https://github.com/dotnetcore/FlubuCore/blob/master/CHANGELOG.md
-
v4.0.3.0 Changes
- FlubuCore interactive mode which offers target tab completition, options tab completition, toogle targets and options, executed commands history and more.
- Targets: Execute another target within target with AddTarget.
protected override void ConfigureTargets(ITaskContext context) { var exampleB = context.CreateTarget("TargetB") .Do(Something); context.CreateTarget("TargetA") .AddCoreTask(x => x.Build()) .AddTarget(exampleB) //Target is executed in the order it was added .Do(JustAnExample); } public void JustAnExample(ITaskContext context) { ... }
Target: Add tasks to target with a foreach loop.
protected override void ConfigureTargets(ITaskContext context) { var solution = context.Properties.Get<VSSolution>(BuildProps.Solution); context.CreateTarget("Pack") .ForEach(solution.Projects, (item, target) => { target.AddCoreTask(x => x.Pack().Project(item.ProjectName)) .Do(JustAnExample, item); }); }
private void JustAnExample(ITaskContext context, VSProjectInfo vsProjectInfo) { //// Do something. }
- Override existing options or add additional options to tasks through console <sup> Let's say you have target</sup> ```c# context.CreateTarget("Build")` .AddCoreTask(x => x.Build("MySolution.sln").Configuration("Release");
๐ and you wan't to build solution in debug configuration.
You could just write in console
๐
flubu build /o:configuration=Debug
or
๐
flubu build /o:c=Debug
flubu would execute
๐
dotnet build MySolution.sln -c Debug
- ๐ฒ sequentiall logging in asynchronus executed tasks and targets.
context.CreateTarget("Test") .SetAsDefault() .SequentialLogging(true) .AddCoreTaskAsync(x => x.Pack()) .AddCoreTaskAsync(x => x.Pack()) .DependsOnAsync(test2, test3);
- ๐ New plugins are available: Chocolatey, Gitter and Slack plugin.
- โ Added Get solution infromation as task context extension
- โ Added support for multiple Musts on target
- ๐ Logs have now indentation for better readability.
- ๐ Logs have now timemark (actions that takes more than 2sec).
- ๐ Improved build summary in logs.
- ๐ Loged build finish time and build duration
- ๐ Fixed GitVersionTask
- Targets: Must now accepts optional error message parameter.
- โก๏ธ UpdateNetCoreTask can now write version quality(version suffix)
- FetchBuildVersionFromFile can now fetch version quality(version suffix).
- ๐ฒ FetchBuildVersionFromFile improved logging.
- โ Added options to set versions in dotnet tasks (dotnet build, dotnet pack, dotnet publish)
- LoadSoluationTask returns solution information
- โ Added WithArgument to IRunProgramTask interface
- ๐ Fixed check of unknown targets.
- FlubuCore interactive mode which offers target tab completition, options tab completition, toogle targets and options, executed commands history and more.
-
v3.2.1 Changes
June 06, 2019๐ See Changelog.md
-
v3.2.1.0 Changes
- ๐ Fixed build status
- ๐ Improved message when build script is not found.
-
v3.2.0.0 Changes
- โ 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.
- โ Added coverlet task
-
v3.1.2
April 21, 2019