aboutsummaryrefslogtreecommitdiff
path: root/Makefile.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-03-06 23:18:13 +0000
committerFuwn <[email protected]>2023-03-06 23:18:13 +0000
commit6dc2f6f616dea520a6b6c52aec5a7308928d7d5b (patch)
tree00adfc06cf5d6f4f550ff57e07f74a3f19af4980 /Makefile.toml
downloadguitar-0.1.1.tar.xz
guitar-0.1.1.zip
feat: core featuresv0.1.1
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"