public static async Task OnExecute(BuildContext context) { context.BuildStep("Analyzing source (if this fails, run './build FormatSource' to fix)"); await context.Exec("dotnet", $"dotnet-format --check --folder --verbosity {context.Verbosity} --exclude src/xunit.v3.assert/Asserts"); }
public static async Task OnExecute(BuildContext context) { context.BuildStep("Analyzing source"); await context.Exec("dotnet", $"format --check --verbosity {context.Verbosity}"); }
public static async Task OnExecute(BuildContext context) { context.BuildStep("Analyzing source"); await context.Exec("dotnet", $"format -f --check --exclude src/xunit.v3.assert/Asserts --verbosity {context.Verbosity}"); }
public static Task OnExecute(BuildContext context) { context.BuildStep("Restoring NuGet packages"); return(context.Exec("dotnet", "restore")); }
public static async Task OnExecute(BuildContext context) { context.BuildStep("Compiling binaries"); await context.Exec("dotnet", $"build --no-restore --configuration {context.ConfigurationText} --verbosity {context.Verbosity}"); }
public static async Task OnExecute(BuildContext context) { context.BuildStep("Formatting source"); await context.Exec("dotnet", $"dotnet-format --folder --exclude src/xunit.v3.assert/Asserts"); }