feat: add dependency

This commit is contained in:
2023-01-20 22:36:19 +08:00
parent 68e8d103b4
commit cf8e579f27
644 changed files with 150099 additions and 14 deletions

View File

@@ -0,0 +1,90 @@
{
// 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"],
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"clear": true
},
"options": {
"env": {
"RUST_BACKTRACE": "1"
}
},
"problemMatcher": []
},
{
"type": "process",
"label": "Cargo Run (Profiler)",
"command": "cargo",
"args": [
"run",
"--features",
"boa_engine/profiler",
"../tests/js/test.js"
],
"group": "build",
"options": {
"env": {
"RUST_BACKTRACE": "full"
},
"cwd": "${workspaceFolder}/boa_cli"
},
"presentation": {
"clear": true
},
"problemMatcher": []
},
{
"type": "process",
"label": "Run with VM trace",
"command": "cargo",
"args": ["run", "--bin", "boa", "--", "-t", "./tests/js/test.js"],
"group": "build",
"presentation": {
"clear": true
},
"problemMatcher": []
},
{
"type": "process",
"label": "Get AST",
"command": "cargo",
"args": ["run", "--bin", "boa", "--", "-a=Debug", "./tests/js/test.js"],
"group": "build",
"presentation": {
"clear": true
},
"problemMatcher": []
},
{
"type": "process",
"label": "Cargo Test",
"command": "cargo",
"args": ["test"],
"group": {
"kind": "test",
"isDefault": true
},
"presentation": {
"clear": true
}
},
{
"type": "process",
"label": "Cargo Test Build",
"command": "cargo",
"args": ["test", "--no-run"],
"group": "build"
}
]
}