summaryrefslogtreecommitdiffstats
path: root/Makefile.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml
index a9a1db2..94d74a7 100644
--- a/Makefile.toml
+++ b/Makefile.toml
@@ -127,6 +127,18 @@ args = [
"${@}"
]
+[tasks.format-apply]
+dependencies = ["update-rust-nightly"]
+toolchain = "nightly"
+command = "cargo"
+args = [
+ "fmt",
+ "--all",
+ "--",
+ "--emit", "files",
+ "${@}"
+]
+
[tasks.licenses]
dependencies = ["update-rust-nightly"]
toolchain = "nightly"