.vscode/tasks.json
author Jan de Mooij <jdemooij@mozilla.com>
Tue, 27 Jun 2017 09:28:52 -0700
changeset 414970 5d4146242f7a28055ce9757297087620432bb48b
parent 406066 4b3970c598da76e637448083ce6dd2d972205d57
child 416609 6c2dd082c159530be3a94b40900beca054741f36
permissions -rw-r--r--
Bug 1373356 - Fix NativeObject::sparsifyDenseElements to discard shifted elements. r=anba

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "command": "${workspaceRoot}/mach",
    "isShellCommand": true,
    "args": ["--log-no-times"],
    "showOutput": "silent",
    "echoCommand": true,
    "suppressTaskName": false,
    "tasks": [
      {
        "taskName": "clobber"
      },
      {
        "taskName": "configure"
      },
      {
        "taskName": "build",
        "isBuildCommand": true,
        "problemMatcher": {
          "owner": "cpp",
          "fileLocation": "absolute",
          "pattern": {
            "regexp": "^.*?tools([^\\s]*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
            "file": 1,
            "line": 2,
            "column": 3,
            "severity": 4,
            "message": 5
          }
        }
      },
      {
        "taskName": "build binaries",
        "problemMatcher": {
          "owner": "cpp",
          "fileLocation": "absolute",
          "pattern": {
            "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
            "file": 1,
            "line": 2,
            "column": 3,
            "severity": 4,
            "message": 5
          }
        }
      },
      {
        "taskName": "build faster",
        "problemMatcher": {
          "owner": "cpp",
          "fileLocation": "absolute",
          "pattern": {
            "regexp": "^(.*):(\\d+):(\\d+):\\s+(warning|error):\\s+(.*)$",
            "file": 1,
            "line": 2,
            "column": 3,
            "severity": 4,
            "message": 5
          }
        }
      },
      {
        "taskName": "run",
        "args": ["-purgecaches"],
        "showOutput": "always"
      },
      {
        "taskName": "eslint",
        "problemMatcher": ["$eslint-stylish"]
      },
      {
        "taskName": "eslint fix",
        "suppressTaskName": true,
        "args": ["eslint", "--fix", "${file}"],
        "problemMatcher": ["$eslint-stylish"]
      },
      {
        "taskName": "test",
        "args": ["${relativeFile}"],
        "isTestCommand": true,
        "showOutput": "always"
      },
      {
        "taskName": "mochitest",
        "args": ["${relativeFile}"],
        "showOutput": "always",
        "problemMatcher": {
          "fileLocation": ["relative", "${workspaceRoot}"],
          "pattern": {
              "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+([^\\s]*)\\s+\\|\\s+(.*)$",
              "severity": 1,
              "file": 2,
              "message": 3
          }
        }
      },
      {
        "taskName": "reftest",
        "args": ["${relativeFile}"],
        "showOutput": "always",
        "problemMatcher": {
          "fileLocation": ["absolute"],
          "pattern": {
              "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+file:\/\/([^\\s]*)\\s+==\\s+[^\\s]*\\s+\\|\\s+(.*)$",
              "severity": 1,
              "file": 2,
              "message": 3
          }
        }
      },
      {
        "taskName": "xpcshell-test",
        "args": ["${relativeFile}", "--sequential"],
        "showOutput": "always",
        "problemMatcher": {
          "fileLocation": ["relative", "${workspaceRoot}"],
          "pattern": {
              "regexp": "^.*\\s+(FAIL|ERROR)\\s+\\[([^\\s]*)\\s+:\\s+(\\d+)\\]\\s+(.*)$",
              "severity": 1,
              "file": 2,
              "location": 3,
              "message": 4
          }
        }
      }
    ]
}