1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-06-03 03:48:04 +02:00

Added vscode tasks for the web-ext tool.

This commit is contained in:
kkapsner 2017-10-07 23:14:53 +02:00
parent 93878e66b8
commit 4dd802adbc

55
.vscode/tasks.json vendored
View File

@ -15,7 +15,9 @@
"osx": { "osx": {
"command": "eslint" "command": "eslint"
}, },
"args": ["./"], "args": [
"./"
],
"presentation": { "presentation": {
"echo": true, "echo": true,
"reveal": "silent", "reveal": "silent",
@ -23,6 +25,57 @@
"panel": "shared" "panel": "shared"
}, },
"problemMatcher": "$eslint-stylish" "problemMatcher": "$eslint-stylish"
},
{
"taskName": "run",
"type": "shell",
"windows": {
"command": "web-ext"
},
"linux": {
"command": "web-ext"
},
"osx": {
"command": "web-ext"
},
"args": [
"run",
"-f",
"nightly",
"--url",
"http://canvasblocker.local/test/"
],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"problemMatcher": []
},
{
"taskName": "build",
"type": "shell",
"windows": {
"command": "web-ext"
},
"linux": {
"command": "web-ext"
},
"osx": {
"command": "web-ext"
},
"args": [
"build",
"--overwrite-dest"
],
"presentation": {
"echo": true,
"reveal": "always",
"focus": false,
"panel": "shared"
},
"problemMatcher": []
} }
] ]
} }