cursorless/.vscode/tasks.json
Pokey Rule 7a51850e1a
keyboard: Use parser for key sequences (#2051)
## Checklist

- [x] I have added
[tests](https://www.cursorless.org/docs/contributing/test-case-recorder/)
- [-] I have updated the
[docs](https://github.com/cursorless-dev/cursorless/tree/main/docs) and
[cheatsheet](https://github.com/cursorless-dev/cursorless/tree/main/cursorless-talon/src/cheatsheet)
(keeping this somewhat under wraps while we experiment
- [x] I have not broken the cheatsheet
- [-] Refactor delete mapping to just issue token for delete action
- [x] Extract partial parameters
- [-] Add railroad to docs?
2023-12-05 15:27:34 +00:00

154 lines
3.4 KiB
JSON

// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"dependsOn": [
"Populate dist",
"ESBuild",
"TSBuild",
"Build test harness"
],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build extension only",
"dependsOn": ["Populate dist", "ESBuild"],
"group": "build"
},
{
"label": "ESBuild",
"type": "npm",
"script": "esbuild",
"path": "packages/cursorless-vscode",
"dependsOn": ["Generate grammar"],
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "Build test harness",
"type": "npm",
"script": "build",
"path": "packages/test-harness",
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "TSBuild",
"type": "npm",
"script": "compile",
"problemMatcher": "$tsc",
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "Populate dist",
"type": "npm",
"script": "populate-dist",
"path": "packages/cursorless-vscode",
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "Generate grammar",
"type": "npm",
"script": "generate-grammar",
"path": "packages/cursorless-vscode",
"presentation": {
"reveal": "silent"
},
"group": "build"
},
{
"label": "Ensure test subset file exists",
"type": "npm",
"script": "generate-test-subset-file-strict",
"path": "packages/test-harness",
"presentation": {
"reveal": "silent"
},
"group": "test"
},
{
"label": "Generate test subset file",
"type": "npm",
"script": "generate-test-subset-file",
"path": "packages/test-harness",
"presentation": {
"reveal": "silent"
},
"group": "none",
"problemMatcher": []
},
{
"label": "Prepare test subset",
"dependsOn": ["Ensure test subset file exists", "Build"],
"dependsOrder": "sequence",
"group": "test"
},
{
"label": "watch",
"dependsOn": ["Watch esbuild", "Watch typescript"],
"group": "build"
},
{
"type": "npm",
"script": "watch:esbuild",
"label": "Watch esbuild",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": "build"
},
{
"type": "npm",
"script": "watch:tsc",
"label": "Watch typescript",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": "build"
},
{
"label": "Serve cursorless.org",
"type": "shell",
"command": "nx serve cursorless-org",
"options": {
"cwd": "cursorless-nx"
},
"problemMatcher": []
},
{
"label": "Install local",
"type": "shell",
"command": "vsce package -o bundle.vsix && code --install-extension bundle.vsix",
"presentation": {
"focus": true
},
"problemMatcher": []
},
{
"label": "Run pre commit",
"type": "shell",
"command": "pre-commit run",
"presentation": {}
}
]
}