diff options
| author | Fuwn <[email protected]> | 2023-05-22 06:40:11 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-05-22 06:40:11 +0000 |
| commit | 7d74c50575f3d4c28cef868c0a743562809caed0 (patch) | |
| tree | 88752152bd0da10de2bc6a50d05f8f11cd7d2611 | |
| parent | fmt: update rustfmt config (diff) | |
| download | september-7d74c50575f3d4c28cef868c0a743562809caed0.tar.xz september-7d74c50575f3d4c28cef868c0a743562809caed0.zip | |
build(Makefile.toml): refine tasks
| -rw-r--r-- | Makefile.toml | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/Makefile.toml b/Makefile.toml index d5356b2..64fd91d 100644 --- a/Makefile.toml +++ b/Makefile.toml @@ -1,25 +1,16 @@ -# ------------ -# | Wrappers | -# ------------ [tasks.fmt] -command = "cargo" args = ["fmt"] -private = true +command = "cargo" toolchain = "nightly" [tasks.check] +args = ["check", "--all-features"] command = "cargo" -args = ["check"] -private = true [tasks.clippy] -command = "cargo" args = ["clippy"] -private = true +command = "cargo" -# ------------- -# | Executors | -# ------------- [tasks.checkf] dependencies = ["fmt", "check"] @@ -27,11 +18,12 @@ dependencies = ["fmt", "check"] dependencies = ["fmt", "check", "clippy"] [tasks.run] -dependencies = ["checkfc"] -command = "cargo" args = ["run"] +command = "cargo" +dependencies = ["checkfc"] [tasks.docker-build] -dependencies = ["checkfc"] -command = "docker" args = ["build", "-t", "fuwn/september:latest", "."] +command = "docker" +dependencies = ["checkfc"] + |