-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile.toml
60 lines (50 loc) · 1004 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# -------------
# | Variables |
# -------------
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
# ------------
# | 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
[tasks.test]
command = "cargo"
args = ["test"]
private = true
[tasks.bench]
command = "cargo"
args = ["bench"]
private = true
# -------------
# | Executors |
# -------------
[tasks.checkf]
workspace = false
dependencies = ["fmt", "check"]
[tasks.checkfc]
workspace = false
dependencies = ["fmt", "check", "clippy"]
[tasks.checkall]
workspace = false
dependencies = ["fmt", "check", "clippy", "test", "bench"]
[tasks.docs]
workspace = false
toolchain = "nightly"
command = "cargo"
args = ["doc", "--open", "--document-private-items", "--no-deps"]
[tasks.run]
workspace = false
dependencies = ["checkfc"]
command = "cargo"
args = ["run", "--bin", "para", "${@}"]