diff options
Diffstat (limited to 'Makefile.toml')
| -rw-r--r-- | Makefile.toml | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml new file mode 100644 index 0000000..4c18a79 --- /dev/null +++ b/Makefile.toml @@ -0,0 +1,31 @@ +# ------------ +# | Wrappers | +# ------------ +[tasks.fmt] +toolchain = "nightly" +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.run] +command = "cargo" +args = ["run", "--", "${@}"] |