mirror of https://github.com/boa-dev/boa.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
2.0 KiB
86 lines
2.0 KiB
{ |
|
// See https://go.microsoft.com/fwlink/?LinkId=733558 |
|
// for the documentation about the tasks.json format |
|
"version": "2.0.0", |
|
"tasks": [ |
|
{ |
|
"type": "process", |
|
"label": "Cargo Run", |
|
"command": "cargo", |
|
"args": ["run", "--bin", "boa", "./tests/js/test.js"], |
|
"problemMatcher": ["$rustc"], |
|
"group": { |
|
"kind": "build", |
|
"isDefault": true |
|
}, |
|
"options": { |
|
"env": { "RUST_BACKTRACE": "full" } |
|
}, |
|
"presentation": { |
|
"clear": true |
|
} |
|
}, |
|
{ |
|
"type": "process", |
|
"label": "Cargo Run (Profiler)", |
|
"command": "cargo", |
|
"args": ["run", "--features", "Boa/profiler", "../tests/js/test.js"], |
|
"problemMatcher": ["$rustc"], |
|
"group": { |
|
"kind": "build", |
|
"isDefault": true |
|
}, |
|
"options": { |
|
"env": { "RUST_BACKTRACE": "full" }, |
|
"cwd": "${workspaceFolder}/boa_cli" |
|
}, |
|
"presentation": { |
|
"clear": true |
|
} |
|
}, |
|
{ |
|
"type": "process", |
|
"label": "Get Tokens", |
|
"command": "cargo", |
|
"args": ["run", "--", "-t=Debug", "./tests/js/test.js"], |
|
"problemMatcher": ["$rustc"], |
|
"group": "build", |
|
"presentation": { |
|
"clear": true |
|
} |
|
}, |
|
{ |
|
"type": "process", |
|
"label": "Get AST", |
|
"command": "cargo", |
|
"args": ["run", "--", "-a=Debug", "./tests/js/test.js"], |
|
"problemMatcher": ["$rustc"], |
|
"group": "build", |
|
"presentation": { |
|
"clear": true |
|
} |
|
}, |
|
{ |
|
"type": "process", |
|
"label": "Cargo Test", |
|
"command": "cargo", |
|
"args": ["test"], |
|
"problemMatcher": ["$rustc"], |
|
"group": { |
|
"kind": "test", |
|
"isDefault": true |
|
}, |
|
"presentation": { |
|
"clear": true |
|
} |
|
}, |
|
{ |
|
"type": "process", |
|
"label": "Cargo Test Build", |
|
"command": "cargo", |
|
"args": ["test", "--no-run"], |
|
"problemMatcher": ["$rustc"], |
|
"group": "build" |
|
} |
|
] |
|
}
|
|
|