зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1377937 - Fix VSCode tasks on Windows (NPOTB, DONTBUILD). r=gps
MozReview-Commit-ID: FAZAFVEkk6G --HG-- extra : rebase_source : c3cd2c1ee23f3ed01ecacd7225e68e861fa3d171
This commit is contained in:
Родитель
aca8a9ec23
Коммит
bc64b89a6a
|
@ -2,7 +2,15 @@
|
|||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"command": "${workspaceRoot}/mach",
|
||||
"windows": {
|
||||
"command": "\"\\mozilla-build\\start-shell.bat mach\""
|
||||
},
|
||||
"osx": {
|
||||
"command": "${workspaceRoot}/mach"
|
||||
},
|
||||
"linux": {
|
||||
"command": "${workspaceRoot}/mach"
|
||||
},
|
||||
"isShellCommand": true,
|
||||
"args": ["--log-no-times"],
|
||||
"showOutput": "silent",
|
||||
|
@ -12,6 +20,11 @@
|
|||
{
|
||||
"taskName": "clobber"
|
||||
},
|
||||
{
|
||||
"taskName": "clobber-python",
|
||||
"suppressTaskName": true,
|
||||
"args": ["clobber", "python"]
|
||||
},
|
||||
{
|
||||
"taskName": "configure"
|
||||
},
|
||||
|
@ -32,7 +45,9 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"taskName": "build binaries",
|
||||
"taskName": "build-binaries",
|
||||
"suppressTaskName": true,
|
||||
"args": ["build", "binaries"],
|
||||
"problemMatcher": {
|
||||
"owner": "cpp",
|
||||
"fileLocation": "absolute",
|
||||
|
@ -47,7 +62,9 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
"taskName": "build faster",
|
||||
"taskName": "build-faster",
|
||||
"suppressTaskName": true,
|
||||
"args": ["build", "faster"],
|
||||
"problemMatcher": {
|
||||
"owner": "cpp",
|
||||
"fileLocation": "absolute",
|
||||
|
@ -66,12 +83,18 @@
|
|||
"args": ["-purgecaches"],
|
||||
"showOutput": "always"
|
||||
},
|
||||
{
|
||||
"taskName": "lint-wo",
|
||||
"suppressTaskName": true,
|
||||
"args": ["lint", "-wo"],
|
||||
"problemMatcher": ["$eslint-stylish"]
|
||||
},
|
||||
{
|
||||
"taskName": "eslint",
|
||||
"problemMatcher": ["$eslint-stylish"]
|
||||
},
|
||||
{
|
||||
"taskName": "eslint fix",
|
||||
"taskName": "eslint-fix",
|
||||
"suppressTaskName": true,
|
||||
"args": ["eslint", "--fix", "${file}"],
|
||||
"problemMatcher": ["$eslint-stylish"]
|
||||
|
|
Загрузка…
Ссылка в новой задаче