aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2023-05-22 06:40:11 +0000
committerFuwn <[email protected]>2023-05-22 06:40:11 +0000
commitdd4f3082ab51509c90dad0b9ad926ac99b38d77b (patch)
tree50db913f9819719275a30aedc4b7388c67b9c2c8
parentfmt: update rustfmt config (diff)
downloadseptember-dd4f3082ab51509c90dad0b9ad926ac99b38d77b.tar.xz
september-dd4f3082ab51509c90dad0b9ad926ac99b38d77b.zip
build(Makefile.toml): refine tasks
-rw-r--r--Makefile.toml24
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"]
+