summaryrefslogtreecommitdiff
path: root/Makefile.toml
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-07-18 16:50:44 -0700
committerFuwn <[email protected]>2022-07-18 16:50:44 -0700
commitf939854be698f35fd2c69da44fccb4a10ca60385 (patch)
tree6f2eb27aa68efbf571c13c370003ee9f5344df22 /Makefile.toml
downloadpok-main.tar.xz
pok-main.zip
feat: initial commitHEADmain
Diffstat (limited to 'Makefile.toml')
-rw-r--r--Makefile.toml33
1 files changed, 33 insertions, 0 deletions
diff --git a/Makefile.toml b/Makefile.toml
new file mode 100644
index 0000000..1ede7b6
--- /dev/null
+++ b/Makefile.toml
@@ -0,0 +1,33 @@
+[tasks.fmt]
+args = ["fmt"]
+command = "cargo"
+toolchain = "nightly"
+workspace = false
+
+[tasks.check]
+args = ["check", "--all-features"]
+command = "cargo"
+workspace = false
+
+[tasks.clippy]
+args = ["clippy", "--all-features"]
+command = "cargo"
+workspace = false
+
+[tasks.test]
+args = ["test", "--all-features"]
+command = "cargo"
+workspace = false
+
+[tasks.checkf]
+dependencies = ["fmt", "check"]
+workspace = false
+
+[tasks.checkfc]
+dependencies = ["fmt", "check", "clippy"]
+workspace = false
+
+[tasks.run]
+args = ["run", "--", "${@}"]
+command = "cargo"
+workspace = false