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:
Panos Astithas 2017-07-03 21:55:07 +03:00
Родитель aca8a9ec23
Коммит bc64b89a6a
1 изменённых файлов: 27 добавлений и 4 удалений

31
.vscode/tasks.json поставляемый
Просмотреть файл

@ -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"]