aboutsummaryrefslogtreecommitdiff
path: root/Makefile.toml
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml28
1 files changed, 28 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml
new file mode 100644
index 0000000..4a7c3d8
--- /dev/null
+++ b/Makefile.toml
@@ -0,0 +1,28 @@
+[tasks.fmt]
+args = ["fmt", "--manifest-path=src-tauri/Cargo.toml"]
+command = "cargo"
+toolchain = "nightly"
+workspace = false
+
+[tasks.check]
+args = ["check", "--all-features", "--manifest-path=src-tauri/Cargo.toml"]
+command = "cargo"
+workspace = false
+
+[tasks.clippy]
+args = ["clippy", "--all-features", "--manifest-path=src-tauri/Cargo.toml"]
+command = "cargo"
+workspace = false
+
+[tasks.checkf]
+dependencies = ["fmt", "check"]
+workspace = false
+
+[tasks.checkfc]
+dependencies = ["fmt", "check", "clippy"]
+workspace = false
+
+[tasks.run]
+args = ["run", "--manifest-path=src-tauri/Cargo.toml"]
+command = "cargo"
+workspace = false