aboutsummaryrefslogtreecommitdiff
path: root/Makefile.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-09-06 23:48:13 +0000
committerFuwn <[email protected]>2022-09-06 23:48:13 +0000
commit65f4398d1f0c79fcdaaf55649f1ac5a35b447eec (patch)
treeffc24ab9de7b9610969740e53feae9bdacf1b189 /Makefile.toml
downloadmonkeytype-desktop-65f4398d1f0c79fcdaaf55649f1ac5a35b447eec.tar.xz
monkeytype-desktop-65f4398d1f0c79fcdaaf55649f1ac5a35b447eec.zip
feat: initial commitHEADmain
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