Skip to content

Commit

Permalink
add groups
Browse files Browse the repository at this point in the history
  • Loading branch information
xavdid-stripe committed Jan 7, 2025
1 parent bc78969 commit 0d320df
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,15 @@ _test no_build framework config:
dotnet test {{no_build}} {{framework}} src/StripeTests/StripeTests.csproj -c {{config}}

# run tests in debug mode
[group('useful')]
test: (_test "" "-f net8.0" "Debug")

# skip build and don't specify the dotnet framework
[group('CI')]
ci-test: (_test "--no-build" "" "Release")

# format files as needed
[group('useful')]
format *options:
TargetFramework=net5.0 dotnet format src/Stripe.net/Stripe.net.csproj --severity warn {{options}}

Expand All @@ -25,6 +28,7 @@ format *options:
alias codegen-format := format

# verify, but don't modify, the project's formatting
[group('CI')]
format-check: (format "--verify-no-changes")

# called by tooling
Expand Down

0 comments on commit 0d320df

Please sign in to comment.