forked from novifinancial/tss-ecdsa
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathMakefile.toml
33 lines (26 loc) · 859 Bytes
/
Makefile.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[tasks.check]
command = "cargo"
args = ["check", "--tests", "--benches", "--all-targets"]
# -- CI Tasks --
[tasks.ci]
dependencies = ["ci-format", "ci-clippy", "ci-build", "ci-docs", "ci-doc-test", "ci-test"]
[tasks.ci-format]
command = "cargo"
toolchain = "nightly"
args = [ "fmt", "--all", "--check"]
[tasks.ci-clippy]
command = "cargo"
args = ["clippy", "--all-targets", "--workspace", "--", "-Dwarnings"]
[tasks.ci-build]
command = "cargo"
args = ["build", "--release", "--all-targets", "--workspace"]
[tasks.ci-docs]
env = { "RUSTDOCFLAGS" = "-Dwarnings" }
command = "cargo"
args = ["doc", "--release", "--no-deps", "--document-private-items", "--workspace"]
[tasks.ci-doc-test]
command = "cargo"
args = ["test", "--release", "--doc", "--workspace"]
[tasks.ci-test]
command = "cargo"
args = ["test", "--release", "--lib", "--bins", "--workspace"]