summaryrefslogtreecommitdiffstats
path: root/Makefile.toml
diff options
context:
space:
mode:
authorTim Oram <dev@mitmaro.ca>2022-07-04 16:00:11 -0230
committerTim Oram <dev@mitmaro.ca>2022-07-04 16:35:55 -0230
commit522487aeb6dc64bf4a99b53ac7f4231935125402 (patch)
tree50350aa3fe99b05ebc74bf7593c2b884f6f41a91 /Makefile.toml
parentda6f1069f191bbe85e0c71d51172ef3d63b11e50 (diff)
Update to latest rustfmt configuration
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"