From 4eefd8db8fbd363fc9987578c849895f3df3c22c Mon Sep 17 00:00:00 2001 From: Simone Cottini Date: Wed, 29 Nov 2023 10:36:57 +0100 Subject: [PATCH] Add fmt-check task in makefile.toml --- Makefile.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile.toml b/Makefile.toml index 01c54e7..b13b83c 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -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"]