|  | 
| 1 | 1 | { | 
| 2 |  | -    // See https://go.microsoft.com/fwlink/?LinkId=733558  | 
| 3 |  | -    // for the documentation about the tasks.json format | 
| 4 |  | -    "version": "2.0.0", | 
| 5 |  | -    "tasks": [ | 
| 6 |  | -        { | 
| 7 |  | -            /* | 
| 8 |  | -             * This is the default cargo build task, | 
| 9 |  | -             * but we need to provide a label for it, | 
| 10 |  | -             * so we can invoke it from the debug launcher. | 
| 11 |  | -             */ | 
| 12 |  | -            "label": "cargo build", | 
| 13 |  | -            "type": "process", | 
| 14 |  | -            "command": "cargo", | 
| 15 |  | -            "args": ["build"], | 
| 16 |  | -            "problemMatcher": [ | 
| 17 |  | -                "$rustc" | 
| 18 |  | -            ], | 
| 19 |  | -            "group": { | 
| 20 |  | -                "kind": "build", | 
| 21 |  | -                "isDefault": true | 
| 22 |  | -            } | 
| 23 |  | -        }, | 
| 24 |  | -        { | 
| 25 |  | -            "label": "cargo build --release", | 
| 26 |  | -            "type": "process", | 
| 27 |  | -            "command": "cargo", | 
| 28 |  | -            "args": ["build", "--release"], | 
| 29 |  | -            "problemMatcher": [ | 
| 30 |  | -                "$rustc" | 
| 31 |  | -            ], | 
| 32 |  | -            "group": "build" | 
| 33 |  | -        }, | 
| 34 |  | -        { | 
| 35 |  | -            "label": "cargo build --examples", | 
| 36 |  | -            "type": "process", | 
| 37 |  | -            "command": "cargo", | 
| 38 |  | -            "args": ["build","--examples"], | 
| 39 |  | -            "problemMatcher": [ | 
| 40 |  | -                "$rustc" | 
| 41 |  | -            ], | 
| 42 |  | -            "group": "build" | 
| 43 |  | -        }, | 
| 44 |  | -        { | 
| 45 |  | -            "label": "cargo build --examples --release", | 
| 46 |  | -            "type": "process", | 
| 47 |  | -            "command": "cargo", | 
| 48 |  | -            "args": ["build","--examples", "--release"], | 
| 49 |  | -            "problemMatcher": [ | 
| 50 |  | -                "$rustc" | 
| 51 |  | -            ], | 
| 52 |  | -            "group": "build" | 
| 53 |  | -        }, | 
| 54 |  | -        { | 
| 55 |  | -            "label": "cargo clean", | 
| 56 |  | -            "type": "process", | 
| 57 |  | -            "command": "cargo", | 
| 58 |  | -            "args": ["clean"], | 
| 59 |  | -            "problemMatcher": [], | 
| 60 |  | -            "group": "build" | 
| 61 |  | -        }, | 
| 62 |  | -    ] | 
|  | 2 | +  // See https://go.microsoft.com/fwlink/?LinkId=733558 | 
|  | 3 | +  // for the documentation about the tasks.json format | 
|  | 4 | +  "version": "2.0.0", | 
|  | 5 | +  "tasks": [ | 
|  | 6 | +    { | 
|  | 7 | +      /* | 
|  | 8 | +       * This is the default cargo build task, | 
|  | 9 | +       * but we need to provide a label for it, | 
|  | 10 | +       * so we can invoke it from the debug launcher. | 
|  | 11 | +       */ | 
|  | 12 | +      "label": "cargo build", | 
|  | 13 | +      "type": "process", | 
|  | 14 | +      "command": "cargo", | 
|  | 15 | +      "args": ["build"], | 
|  | 16 | +      "problemMatcher": ["$rustc"], | 
|  | 17 | +      "group": { | 
|  | 18 | +        "kind": "build", | 
|  | 19 | +        "isDefault": true | 
|  | 20 | +      } | 
|  | 21 | +    }, | 
|  | 22 | +    { | 
|  | 23 | +      "label": "cargo build --release", | 
|  | 24 | +      "type": "process", | 
|  | 25 | +      "command": "cargo", | 
|  | 26 | +      "args": ["build", "--release"], | 
|  | 27 | +      "problemMatcher": ["$rustc"], | 
|  | 28 | +      "group": "build" | 
|  | 29 | +    }, | 
|  | 30 | +    { | 
|  | 31 | +      "label": "cargo build --examples", | 
|  | 32 | +      "type": "process", | 
|  | 33 | +      "command": "cargo", | 
|  | 34 | +      "args": ["build", "--example", "audio"], | 
|  | 35 | +      "problemMatcher": ["$rustc"], | 
|  | 36 | +      "group": "build" | 
|  | 37 | +    }, | 
|  | 38 | +    { | 
|  | 39 | +      "label": "cargo build --examples --release", | 
|  | 40 | +      "type": "process", | 
|  | 41 | +      "command": "cargo", | 
|  | 42 | +      "args": ["build", "--examples", "--release"], | 
|  | 43 | +      "problemMatcher": ["$rustc"], | 
|  | 44 | +      "group": "build" | 
|  | 45 | +    }, | 
|  | 46 | +    { | 
|  | 47 | +      "label": "cargo clean", | 
|  | 48 | +      "type": "process", | 
|  | 49 | +      "command": "cargo", | 
|  | 50 | +      "args": ["clean"], | 
|  | 51 | +      "problemMatcher": [], | 
|  | 52 | +      "group": "build" | 
|  | 53 | +    } | 
|  | 54 | +  ] | 
| 63 | 55 | } | 
0 commit comments