-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.toml
53 lines (44 loc) · 849 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
[tasks.fast]
description = "Fast compilation"
command = "cargo"
args = ["check"]
[tasks.full]
dependencies = [
"clean",
"fmt",
"clippy",
"build",
"test",
"docs",
"move-docs"
]
[tasks.release]
command = "cargo"
args = ["build", "--release"]
[tasks.clean]
command = "cargo"
args = ["clean"]
[tasks.fmt]
command = "cargo"
args = ["fmt", "--all"]
[tasks.clippy]
command = "cargo"
args = ["clippy"]
[tasks.build]
command = "cargo"
args = ["build"]
[tasks.test]
command = "cargo"
args = ["test"]
[tasks.docs]
description = "Generate rust documentation."
command = "cargo"
args = ["doc", "--no-deps"]
[tasks.move-docs]
description = "Moves the generated documentation to the docs/api directory."
dependencies = ["docs"]
script = [
"rm -fR ./docs/api",
"mkdir -p ./docs/api",
"mv ./target/doc/* ./docs/api"
]