diff options
| author | Fuwn <[email protected]> | 2022-09-06 23:48:13 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-09-06 23:48:13 +0000 |
| commit | 65f4398d1f0c79fcdaaf55649f1ac5a35b447eec (patch) | |
| tree | ffc24ab9de7b9610969740e53feae9bdacf1b189 /Makefile.toml | |
| download | monkeytype-desktop-65f4398d1f0c79fcdaaf55649f1ac5a35b447eec.tar.xz monkeytype-desktop-65f4398d1f0c79fcdaaf55649f1ac5a35b447eec.zip | |
Diffstat (limited to 'Makefile.toml')
| -rw-r--r-- | Makefile.toml | 28 |
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 |