Skip to content

Commit

Permalink
Add fmt-check task in makefile.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
cottinisimone committed Nov 29, 2023
1 parent 9d7d379 commit 4eefd8d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ args = [
"@@split(CARGO_MAKE_CARGO_BUILD_TEST_FLAGS, )",
]

[tasks.fmt-check]
description = "Runs the cargo rustfmt plugin."
command = "cargo"
args = ["fmt", "--", "--check"]

[tasks.test]
dependencies = ["test-base", "test-auth0"]

Expand Down

0 comments on commit 4eefd8d

Please sign in to comment.