symbol tables appear to be messed up and it doesn't work with async Rust, so will try to refactor the code to be sync and see how it fares
30 lines
800 B
JSON
30 lines
800 B
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Build project",
|
|
"type": "shell",
|
|
"command": "cargo make build",
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
]
|
|
},
|
|
{
|
|
"label": "Watch project",
|
|
"type": "shell",
|
|
"command": "cargo make check-watch",
|
|
"problemMatcher": [
|
|
"$rustc-watch"
|
|
]
|
|
},
|
|
{
|
|
"label": "Assign capabilities",
|
|
"type": "shell",
|
|
"command": "find ${workspaceFolder}/target/debug -maxdepth 1 -type f -executable -exec sudo setcap cap_net_raw=eip {} \\;",
|
|
"dependsOn": [
|
|
"Build project"
|
|
],
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
} |