summaryrefslogtreecommitdiffstats
path: root/.vscode/tasks.json
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 19:33:14 +0000
commit36d22d82aa202bb199967e9512281e9a53db42c9 (patch)
tree105e8c98ddea1c1e4784a60a5a6410fa416be2de /.vscode/tasks.json
parentInitial commit. (diff)
downloadfirefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz
firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.vscode/tasks.json')
-rw-r--r--.vscode/tasks.json170
1 files changed, 170 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 0000000000..eab45b2a75
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,170 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "type": "shell",
+ "command": "${workspaceFolder}/mach",
+ "args": ["--log-no-times"],
+ "windows": {
+ "command": "/mozilla-build/start-shell.bat",
+ "args": [
+ "cd",
+ // Use PowerShell to mangle path for mozilla-build environment
+ {"value": "$('${workspaceFolder}' -replace '\\\\','/')", "quoting": "weak"},
+ "';'",
+
+ "mach",
+ "--log-no-times"
+ ]
+ },
+ "tasks": [
+ {
+ "label": "clobber",
+ "args": ["clobber"],
+ "problemMatcher": []
+ },
+ {
+ "label": "clobber-python",
+ "args": ["clobber", "python"],
+ "problemMatcher": []
+ },
+ {
+ "label": "configure",
+ "args": ["configure"],
+ "problemMatcher": []
+ },
+ {
+ "label": "build",
+ "args": ["build"],
+ "problemMatcher": {
+ "owner": "cpp",
+ "fileLocation": "absolute",
+ "pattern": {
+ "regexp": "^.*?([^\\s]*)[:(](\\d+)[:,](\\d+)[)]?:\\s+(warning|error):\\s+(.*)$",
+ "file": 1,
+ "line": 2,
+ "column": 3,
+ "severity": 4,
+ "message": 5
+ }
+ }
+ },
+ {
+ "label": "build-binaries",
+ "args": ["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
+ }
+ },
+ "group": {
+ "kind": "build",
+ "isDefault": true
+ }
+ },
+ {
+ "label": "build-faster",
+ "args": ["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
+ }
+ }
+ },
+ {
+ "label": "run",
+ "args": ["run", "-purgecaches"],
+ "problemMatcher": []
+ },
+ {
+ "label": "lint-wo",
+ "args": ["lint", "-wo"],
+ "problemMatcher": ["$eslint-stylish"]
+ },
+ {
+ "label": "eslint",
+ "args": ["eslint", "${file}"],
+ "problemMatcher": ["$eslint-stylish"]
+ },
+ {
+ "label": "eslint-fix",
+ "args": ["eslint", "--fix", "${file}"],
+ "problemMatcher": ["$eslint-stylish"]
+ },
+ {
+ "label": "test",
+ "args": ["test", "${relativeFile}"],
+ "group":"test",
+ "presentation": {
+ "reveal": "always",
+ "panel": "new"
+ }
+ },
+ {
+ "label": "mochitest",
+ "args": ["mochitest", "${relativeFile}"],
+ "problemMatcher": {
+ "fileLocation": ["relative", "${workspaceFolder}"],
+ "pattern": {
+ "regexp": "^.*\\s+(TEST-UNEXPECTED-FAIL|TEST-UNEXPECTED-PASS)\\s+\\|\\s+([^\\s]*)\\s+\\|\\s+(.*)$",
+ "severity": 1,
+ "file": 2,
+ "message": 3
+ }
+ },
+ "presentation": {
+ "reveal": "always",
+ "panel": "new"
+ }
+ },
+ {
+ "label": "reftest",
+ "args": ["reftest", "${relativeFile}"],
+ "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
+ }
+ },
+ "presentation": {
+ "reveal": "always",
+ "panel": "new"
+ }
+ },
+ {
+ "label": "xpcshell-test",
+ "args": ["xpcshell-test", "${relativeFile}", "--sequential"],
+ "problemMatcher": {
+ "fileLocation": ["relative", "${workspaceFolder}"],
+ "pattern": {
+ "regexp": "^.*\\s+(FAIL|ERROR)\\s+\\[([^\\s]*)\\s+:\\s+(\\d+)\\]\\s+(.*)$",
+ "severity": 1,
+ "file": 2,
+ "location": 3,
+ "message": 4
+ }
+ },
+ "presentation": {
+ "reveal": "always",
+ "panel": "new"
+ }
+ }
+ ]
+}