tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

tasks.json (4475B)


      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    "type": "shell",
      6    "command": "${workspaceFolder}/mach",
      7    "args": ["--log-no-times"],
      8    "windows": {
      9      // Not using ${workspaceFolder} because doing so somehow runs
     10      // the command on a new window instead of within the vscode terminal
     11      "command": "./mach"
     12    },
     13    "tasks": [
     14      {
     15        "label": "clobber",
     16        "args": ["clobber"],
     17        "problemMatcher": []
     18      },
     19      {
     20        "label": "clobber-python",
     21        "args": ["clobber", "python"],
     22        "problemMatcher": []
     23      },
     24      {
     25        "label": "configure",
     26        "args": ["configure"],
     27        "problemMatcher": []
     28      },
     29      {
     30        "label": "build",
     31        "args": ["build"],
     32        "problemMatcher": {
     33          "owner": "cpp",
     34          "fileLocation": "absolute",
     35          "pattern": {
     36            "regexp": "^.*?([^\\s]*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
     37            "file": 1,
     38            "line": 2,
     39            "column": 3,
     40            "severity": 4,
     41            "message": 5
     42          }
     43        }
     44      },
     45      {
     46        "label": "build-binaries",
     47        "args": ["build", "binaries"],
     48        "problemMatcher": {
     49          "owner": "cpp",
     50          "fileLocation": "absolute",
     51          "pattern": {
     52            "regexp": "^(.*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
     53            "file": 1,
     54            "line": 2,
     55            "column": 3,
     56            "severity": 4,
     57            "message": 5
     58          }
     59        },
     60        "group": {
     61            "kind": "build",
     62            "isDefault": true
     63        }
     64      },
     65      {
     66        "label": "build-faster",
     67        "args": ["build", "faster"],
     68        "problemMatcher": {
     69          "owner": "cpp",
     70          "fileLocation": "absolute",
     71          "pattern": {
     72            "regexp": "^(.*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
     73            "file": 1,
     74            "line": 2,
     75            "column": 3,
     76            "severity": 4,
     77            "message": 5
     78          }
     79        }
     80      },
     81      {
     82        "label": "run",
     83        "args": ["run", "-purgecaches"],
     84        "problemMatcher": []
     85      },
     86      {
     87        "label": "lint-wo",
     88        "args": ["lint", "-wo"],
     89        "problemMatcher": ["$eslint-stylish"]
     90      },
     91      {
     92        "label": "eslint",
     93        "args": ["eslint", "${file}"],
     94        "problemMatcher": ["$eslint-stylish"]
     95      },
     96      {
     97        "label": "eslint-fix",
     98        "args": ["eslint", "--fix", "${file}"],
     99        "problemMatcher": ["$eslint-stylish"]
    100      },
    101      {
    102        "label": "test",
    103        "args": ["test", "${relativeFile}"],
    104        "group":"test",
    105        "presentation": {
    106            "reveal": "always",
    107            "panel": "new"
    108        }
    109      },
    110      {
    111        "label": "mochitest",
    112        "args": ["mochitest", "${relativeFile}"],
    113        "problemMatcher": {
    114          "fileLocation": ["relative", "${workspaceFolder}"],
    115          "pattern": {
    116              "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+([^\\s]*)\\s+\\|\\s+(.*)$",
    117              "severity": 1,
    118              "file": 2,
    119              "message": 3
    120          }
    121        },
    122        "presentation": {
    123            "reveal": "always",
    124            "panel": "new"
    125        }
    126      },
    127      {
    128        "label": "reftest",
    129        "args": ["reftest", "${relativeFile}"],
    130        "problemMatcher": {
    131          "fileLocation": ["absolute"],
    132          "pattern": {
    133              "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+file:\/\/([^\\s]*)\\s+==\\s+[^\\s]*\\s+\\|\\s+(.*)$",
    134              "severity": 1,
    135              "file": 2,
    136              "message": 3
    137          }
    138        },
    139        "presentation": {
    140            "reveal": "always",
    141            "panel": "new"
    142        }
    143      },
    144      {
    145        "label": "xpcshell-test",
    146        "args": ["xpcshell-test", "${relativeFile}", "--sequential"],
    147        "problemMatcher": {
    148          "fileLocation": ["relative", "${workspaceFolder}"],
    149          "pattern": {
    150              "regexp": "^.*\\s+(FAIL|ERROR)\\s+\\[([^\\s]*)\\s+:\\s+(\\d+)\\]\\s+(.*)$",
    151              "severity": 1,
    152              "file": 2,
    153              "location": 3,
    154              "message": 4
    155          }
    156        },
    157        "presentation": {
    158              "reveal": "always",
    159              "panel": "new"
    160        }
    161      }
    162    ]
    163 }