sigs.k8s.io/cluster-api@v1.7.1/dev/vscode-example-configuration/tasks.json (about)

     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              "type": "shell",
     8              "label": "sigs.k8s.io/cluster-api: Prepare vscode to run envtest-based tests",
     9              "detail": "Install envtest and configure the vscode-go test environment.",
    10              "group": {
    11                  "kind": "test",
    12                  "isDefault": true
    13              },
    14              "command": [
    15                  "echo $(make setup-envtest) > ${workspaceFolder}/.vscode/test.env",
    16              ],
    17              "presentation": {
    18                  "echo": true,
    19                  "reveal": "silent",
    20                  "focus": true,
    21                  "panel": "shared",
    22                  "showReuseMessage": true,
    23                  "clear": false
    24              },
    25              "runOptions": {
    26                  "runOn": "folderOpen",
    27                  "instanceLimit": 1,
    28              },
    29              "promptOnClose": true,
    30          }
    31      ]
    32  }