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