forked from boa-dev/boa
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile.toml
More file actions
51 lines (40 loc) · 1.09 KB
/
Makefile.toml
File metadata and controls
51 lines (40 loc) · 1.09 KB
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
extend = [
{ path = "./make/ci.toml"}
]
[config]
default_to_workspace = false
[tasks.run-ci]
description = "Run Boa CI locally"
run_task.name = [
"ci-fmt-check",
"ci-lint-all-features",
"ci-lint-no-features"
]
[tasks.format]
install_crate = "rustfmt"
command = "cargo"
args = ["fmt", "--all", "--", "--emit=files"]
[tasks.test]
command = "cargo"
args = ["test", "${@}"]
[tasks.test262]
command = "cargo"
args = ["run", "@@remove-empty(RELEASE_ARG)", "--bin", "boa_tester", "--", "run", "${@}"]
[tasks.bench-js]
condition = { env_set = [ "BOA_DATA_ROOT" ] }
command = "cargo"
args = ["run", "--bin", "boa", "--release", "--", "@@remove-empty(BOA_DATA_ROOT)bench/bench-v8/combined.js"]
[tasks.insta-test]
install_crate = "cargo-insta"
command = "cargo"
args = ["insta", "test", "-p", "insta-bytecode", "--review"]
[tasks.insta-review]
install_crate = "cargo-insta"
command = "cargo"
args = ["insta", "review", "--manifest-path", "./tests/insta-bytecode/Cargo.toml"]
[env.development]
RELEASE_ARG=""
[env.profiling]
RELEASE_ARG="--profile=release-dbg"
[env.production]
RELEASE_ARG="--release"