{ "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": [] } ] }