aboutsummaryrefslogtreecommitdiff
path: root/Makefile.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-01 01:59:13 +0000
committerFuwn <[email protected]>2022-04-01 01:59:13 +0000
commitbaa3b13e9dd4bfe381373b9251aef71a9d6670fe (patch)
tree1df8260acc1feb9cbcbe9628873f45e7aa8c5ac7 /Makefile.toml
parentdocs(license): add license (diff)
downloadseptember-baa3b13e9dd4bfe381373b9251aef71a9d6670fe.tar.xz
september-baa3b13e9dd4bfe381373b9251aef71a9d6670fe.zip
feat: 0.0.0 :star:
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml36
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", "."]