summaryrefslogtreecommitdiff
path: root/Makefile.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml
new file mode 100644
index 0000000..5ec7c19
--- /dev/null
+++ b/Makefile.toml
@@ -0,0 +1,23 @@
+[tasks.fmt]
+args = ["fmt"]
+command = "cargo"
+toolchain = "nightly"
+
+[tasks.check]
+args = ["check", "--all-features"]
+command = "cargo"
+
+[tasks.clippy]
+args = ["clippy"]
+command = "cargo"
+
+[tasks.checkf]
+dependencies = ["fmt", "check"]
+
+[tasks.checkfc]
+dependencies = ["fmt", "check", "clippy"]
+
+[tasks.run]
+args = ["run", "${@}"]
+command = "cargo"
+dependencies = ["checkfc"]