diff options
| author | Fuwn <[email protected]> | 2022-09-06 23:48:13 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-09-06 23:48:13 -0700 |
| commit | f793d07ebb2e4934f51e2a88ac338508736e3993 (patch) | |
| tree | ffc24ab9de7b9610969740e53feae9bdacf1b189 /Makefile.toml | |
| download | monkeytype-desktop-main.tar.xz monkeytype-desktop-main.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 |