Skip to content

Commit

Permalink
Merge pull request #603 from adamralph/format
Browse files Browse the repository at this point in the history
add format build step
  • Loading branch information
adamralph committed Dec 25, 2023
2 parents 2145722 + 0254033 commit a30fc36
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#!/usr/bin/env bash
set -euo pipefail

echo "${0##*/}": Formatting...
dotnet format --verify-no-changes

echo "${0##*/}": Building...
dotnet build --configuration Release --nologo

Expand Down
3 changes: 3 additions & 0 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
@echo Off

echo %~nx0: Formatting...
dotnet format --verify-no-changes || goto :error

echo %~nx0: Building...
dotnet build --configuration Release --nologo || goto :error

Expand Down

0 comments on commit a30fc36

Please sign in to comment.