Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
1 result

tasks.json

Blame
  • tasks.json 877 B
    {
        // See https://go.microsoft.com/fwlink/?LinkId=733558 
        // for the documentation about the tasks.json format
        "version": "2.0.0",
        "tasks": [
            {
                "label": "cargo build --example",
                "command": "cargo",
                "args": [
                    "build",
                    "--example",
                    "${fileBasenameNoExtension}"
                ],
                "problemMatcher": [
                    "$rustc"
                ],
                "group": "build",
            },
            {
                "label": "cargo build --example --release",
                "command": "cargo",
                "args": [
                    "build",
                    "--example",
                    "${fileBasenameNoExtension}",
                    "--release"
                ],
                "problemMatcher": [
                    "$rustc"
                ],
                "group": "build",
            },
        ]
    }