-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
47 lines (40 loc) · 892 Bytes
/
Makefile.toml
File metadata and controls
47 lines (40 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
44
45
46
47
# Builds
[tasks.build-starter]
cwd = "."
command = "cargo"
args = ["leptos", "build", "--release", "--precompress", "-vv"]
# Lints
[tasks.lint-starter]
cwd = "."
command = "cargo"
args = ["clippy", "--all-targets", "--all-features", "--", "-D", "warnings"]
[tasks.lint-codegen]
cwd = "./codegen"
command = "cargo"
args = ["clippy", "--all-targets", "--all-features", "--", "-D", "warnings"]
[tasks.lint]
run_task = { name = [
"lint-starter",
"lint-codegen",
] }
# Tests
[tasks.unit-tests]
cwd = "."
command = "cargo"
args = ["nextest", "run"]
[tasks.integration-tests]
workspace = false
cwd = "./"
command = "cargo"
args = ["leptos", "end-to-end", "--precompress", "--release"]
[tasks.tests]
run_task = { name = [
"unit-tests",
"integration-tests"
] }
# Tries to run the same checks as the CI, locally.
[tasks.mimic-ci]
run_task = { name = [
"lint",
"tests"
] }