mirror of
https://github.com/cursorless-dev/cursorless.git
synced 2024-10-05 05:17:38 +03:00
c2e9c00241
This enables us to ask git not to [track changes to that file. And while we're here, support multiple regular expressions. ## Checklist - [/] I have added [tests](https://www.cursorless.org/docs/contributing/test-case-recorder/) - [x] 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) - [/] I have not broken the cheatsheet --------- Co-authored-by: Pokey Rule <755842+pokey@users.noreply.github.com> Co-authored-by: Andreas Arvidsson <andreas.arvidsson87@gmail.com>
112 lines
2.5 KiB
JSON
112 lines
2.5 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"],
|
|
"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",
|
|
"presentation": {
|
|
"reveal": "never"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "TSBuild",
|
|
"type": "npm",
|
|
"script": "compile",
|
|
"problemMatcher": "$tsc",
|
|
"presentation": {
|
|
"reveal": "never"
|
|
},
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Populate dist",
|
|
"type": "npm",
|
|
"script": "populate-dist",
|
|
"path": "packages/cursorless-vscode",
|
|
"presentation": {
|
|
"reveal": "never"
|
|
},
|
|
"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"
|
|
},
|
|
{
|
|
"type": "npm",
|
|
"script": "watch",
|
|
"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": {}
|
|
}
|
|
]
|
|
}
|