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 | dd4f3082ab51509c90dad0b9ad926ac99b38d77b (patch) | |
| tree | 50db913f9819719275a30aedc4b7388c67b9c2c8 | |
| parent | fmt: update rustfmt config (diff) | |
| download | september-dd4f3082ab51509c90dad0b9ad926ac99b38d77b.tar.xz september-dd4f3082ab51509c90dad0b9ad926ac99b38d77b.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"] + |