diff options
Diffstat (limited to 'Makefile.toml')
| -rw-r--r-- | Makefile.toml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml new file mode 100644 index 0000000..60b05a7 --- /dev/null +++ b/Makefile.toml @@ -0,0 +1,36 @@ +# ------------ +# | 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.run] +dependencies = ["checkfc"] +command = "cargo" +args = ["run"] + +[tasks.docker-build] +dependencies = ["checkfc"] +command = "docker" +args = ["build", "-t", "fuwn/september", "."] |