diff options
Diffstat (limited to 'Makefile.toml')
| -rw-r--r-- | Makefile.toml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml new file mode 100644 index 0000000..43aaa60 --- /dev/null +++ b/Makefile.toml @@ -0,0 +1,41 @@ +# ------------ +# | Wrappers | +# ------------ +[tasks.fmt] +command = "cargo" +args = ["fmt"] +private = true + +[tasks.check] +command = "cargo" +args = ["check"] +private = true + +[tasks.clippy] +command = "cargo" +args = ["clippy"] +private = true + +# ------------- +# | Executors | +# ------------- +[tasks.checkf] +dependencies = ["fmt", "check"] + +[tasks.checkfc] +dependencies = ["fmt", "check", "clippy"] + +[tasks.test] +dependencies = ["checkfc"] +command = "cargo" +args = ["test"] + +[tasks.docs] +workspace = false +toolchain = "nightly" +command = "cargo" +args = ["doc", "--open", "--no-deps"] + +[tasks.run] +command = "cargo" +args = ["run", "--example", "rust_crate_template"] |