summaryrefslogtreecommitdiff
path: root/Makefile.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-01-25 23:04:22 -0800
committerFuwn <[email protected]>2022-01-25 23:04:22 -0800
commit6699cbaa1c16b464bcfc1963143ebc945154b671 (patch)
treeb6f83ca4f13a14e3539754d8428c76cab86beb5d /Makefile.toml
downloadrawaccel-sys-main.tar.xz
rawaccel-sys-main.zip
feat: :star:HEADmain
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml37
1 files changed, 37 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml
new file mode 100644
index 0000000..d004dbc
--- /dev/null
+++ b/Makefile.toml
@@ -0,0 +1,37 @@
+# ------------
+# | Wrappers |
+# ------------
+[tasks.fmt]
+command = "cargo"
+args = ["fmt"]
+
+[tasks.check]
+command = "cargo"
+args = ["check"]
+
+[tasks.clippy]
+command = "cargo"
+args = ["clippy"]
+
+[tasks.test]
+command = "cargo"
+args = ["test"]
+
+[tasks.bench]
+command = "cargo"
+args = ["bench"]
+
+# -------------
+# | Executors |
+# -------------
+[tasks.checkf]
+workspace = false
+dependencies = ["fmt", "check"]
+
+[tasks.checkfc]
+workspace = false
+dependencies = ["fmt", "check", "clippy"]
+
+[tasks.checkall]
+workspace = false
+dependencies = ["fmt", "check", "clippy", "test", "bench"]