Skip to content

Commit

Permalink
add format build step
Browse files Browse the repository at this point in the history
  • Loading branch information
adamralph committed Dec 25, 2023
1 parent e0009de commit 963bbc8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion targets/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
testLoggerArgs.AddRange(["--logger", "GitHubActions",]);
}

Target("format", () => RunAsync("dotnet", "format --verify-no-changes"));

Target("build", () => RunAsync("dotnet", "build --configuration Release --nologo"));

Target(
Expand Down Expand Up @@ -88,6 +90,6 @@ await RunAsync(

Target("eyeball-logs", DependsOn("eyeball-minver-logs", "eyeball-minver-cli-logs"));

Target("default", DependsOn("test-lib", "test-packages", "eyeball-logs"));
Target("default", DependsOn("format", "test-lib", "test-packages", "eyeball-logs"));

await RunTargetsAndExitAsync(args, ex => ex is SimpleExec.ExitCodeException);

0 comments on commit 963bbc8

Please sign in to comment.