Adam Ralph
Adam Ralph
This feature should also provide logging methods for task plugins. When a plugin logs, the prefix should be something like `[Bau][TypenameWithoutNamespace]`. When logging at
E.g. `scriptcs baufile.csx -- name[Adam,Ralph]` ``` c# .Task("name") .Args(new { FirstName = "John", LastName = "Doe" }) // the values assigned are the defaults .Do(args => { Console.WriteLine("First name is...
``` C# Task(string name, string description, IEnumerable dependencies, Action action) ``` and all variants between. How does this fit in with the current optional name parameter? Am I going to...
E.g. `CreateDirectory()` and `DeleteDirectory()` methods which actually block until the operation has happened. Removes the need for things like https://github.com/bau-build/bau/blob/7b0e3a080f324d6a40b710f161fca76c7ea02d18/baufile.csx#L133-L148
``` C# .Directory("artifacts/output") .NuGetPack("pack").DependsOn("build", "clobber", "artifacts/output").Do(nuget => nuget .Files("MyProject.csproj") .Output("artifacts/output")) ``` (Of course, individual plugins can also build in the ability to create folders on the fly if it makes...
Providing ``` C# .Use(string exe) // for overriding the exe path .In(string workingDirectory) .With(string args) // future proofing for new args, until we add them to the API ``` as...
``` C# msb.Verbosity = msBuildFileVerbosity; ... Verbosity = Verbosity.Minimal, ``` is the wrong way round (in 2 places). Should be ``` C# msb.Verbosity = Verbosity.Minimal; ... Verbosity = msBuildFileVerbosity, ```