-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
43 lines (33 loc) · 892 Bytes
/
Copy pathMakefile.toml
File metadata and controls
43 lines (33 loc) · 892 Bytes
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
[config]
default_to_workspace = false
[env]
CARGO_MAKE_EXTEND_WORKSPACE_MAKEFILE = true
RUST_BACKTRACE="full"
[tasks.install-deps]
description = "Install system dependencies"
script = "./install.sh"
[tasks.build-shaders]
description = "Compile Vulkan shaders"
script = "./scripts/build-shaders.sh"
[tasks.test-all]
description = "Run all tests"
command = "cargo"
args = ["test", "--all-features"]
[tasks.bench]
description = "Run benchmarks"
command = "cargo"
args = ["bench"]
[tasks.lint]
description = "Run clippy and format check"
dependencies = ["clippy", "fmt-check"]
[tasks.clippy]
command = "cargo"
args = ["clippy", "--all-targets", "--all-features", "--", "-D", "warnings"]
[tasks.fmt-check]
command = "cargo"
args = ["fmt", "--all", "--", "--check"]
[tasks.security-audit]
command = "cargo"
args = ["audit"]
[tasks.ci]
dependencies = ["lint", "test-all", "security-audit"]