diff options
| author | Fuwn <[email protected]> | 2022-05-15 23:44:53 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-05-15 23:44:53 -0700 |
| commit | 242b0b9591fa4fd5f8b4a45ec4c179f451c62c14 (patch) | |
| tree | 6dcc82c1e87725224bc3dcd22c974ab0775f4c7f /Makefile.toml | |
| parent | docs(license): add license for vergen (diff) | |
| download | chorus-main.tar.xz chorus-main.zip | |
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", "--", "${@}"] |