-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile.toml
67 lines (57 loc) · 1.46 KB
/
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
61
62
63
64
65
66
67
[tasks.lint]
command = "cargo"
args = ["clippy"]
dependencies = [
"check:fmt",
"check:sort",
"lint:rusoto",
"lint:rusoto_rustls",
"lint:awssdk",
]
[tasks."lint:rusoto"]
command = "cargo"
args = ["clippy", "--no-default-features", "--features", "rusoto"]
[tasks."lint:rusoto_rustls"]
command = "cargo"
args = ["clippy", "--no-default-features", "--features", "rusoto_rustls"]
[tasks."lint:awssdk"]
command = "cargo"
args = ["clippy", "--no-default-features", "--features", "awssdk"]
[tasks."check:fmt"]
description = "Check format"
command = "cargo"
args = ["fmt", "--check"]
[tasks."check:sort"]
description = "Check if Cargo.toml dependencies sorted"
install_crate = { crate_name = "cargo-sort" }
command = "cargo"
args = ["sort", "--check"]
[tasks.test]
description = "Run nextest"
install_crate = { crate_name = "cargo-nextest" }
command = "cargo"
args = ["nextest", "run"]
dependencies = [
"test:rusoto",
"test:rusoto_rustls",
"test:awssdk",
"test:ordered_logs",
]
[tasks."test:rusoto"]
command = "cargo"
args = ["nextest", "run", "--no-default-features", "--features", "rusoto"]
[tasks."test:rusoto_rustls"]
command = "cargo"
args = [
"nextest",
"run",
"--no-default-features",
"--features",
"rusoto_rustls",
]
[tasks."test:awssdk"]
command = "cargo"
args = ["nextest", "run", "--no-default-features", "--features", "awssdk"]
[tasks."test:ordered_logs"]
command = "cargo"
args = ["nextest", "run", "--no-default-features", "--features", "ordered_logs"]