diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 00:47:55 +0000 |
commit | 26a029d407be480d791972afb5975cf62c9360a6 (patch) | |
tree | f435a8308119effd964b339f76abb83a57c29483 /dom/webgpu/tests/cts/checkout/cts.code-workspace | |
parent | Initial commit. (diff) | |
download | firefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz firefox-26a029d407be480d791972afb5975cf62c9360a6.zip |
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/webgpu/tests/cts/checkout/cts.code-workspace')
-rw-r--r-- | dom/webgpu/tests/cts/checkout/cts.code-workspace | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/dom/webgpu/tests/cts/checkout/cts.code-workspace b/dom/webgpu/tests/cts/checkout/cts.code-workspace new file mode 100644 index 0000000000..9c7320ce4b --- /dev/null +++ b/dom/webgpu/tests/cts/checkout/cts.code-workspace @@ -0,0 +1,111 @@ +// Note: VS Code's setting precedence is `.vscode/` > `cts.code-workspace` > global user settings. +{ + "folders": [ + { + "name": "cts", + "path": "." + }, + { + "name": "webgpu", + "path": "src/webgpu" + } + ], + "settings": { + "editor.defaultFormatter": "esbenp.prettier-vscode", + "editor.detectIndentation": false, + "editor.rulers": [100], + "editor.tabSize": 2, + "files.insertFinalNewline": true, + "files.trimFinalNewlines": true, + "files.trimTrailingWhitespace": true, + "files.exclude": { + "*.tmp.txt": true, + ".gitignore": true, + ".travis.yml": true, + ".tscache": true, + "deploy_key.enc": true, + "node_modules": true, + "out": true, + "out-node": true, + "out-wpt": true, + "docs/tsdoc": true, + "package-lock.json": true + }, + // Configure VSCode to use the right style when automatically adding imports on autocomplete. + "typescript.preferences.importModuleSpecifier": "relative", + "typescript.preferences.importModuleSpecifierEnding": "js", + "typescript.preferences.quoteStyle": "single", + "typescript.tsdk": "cts/node_modules/typescript/lib" + }, + "tasks": { + "version": "2.0.0", + "tasks": [ + // Only supports "shell" and "process" tasks. + // https://code.visualstudio.com/docs/editor/multi-root-workspaces#_workspace-task-configuration + { + // Use "group": "build" instead of "test" so it's easy to access from cmd-shift-B. + "group": "build", + "label": "npm: test", + "detail": "Run all presubmit checks", + + "type": "shell", + "command": "npm run test", + "problemMatcher": [] + }, + { + "group": "build", + "label": "npm: check", + "detail": "Just typecheck", + + "type": "shell", + "command": "npm run check", + "problemMatcher": ["$tsc"] + }, + { + "group": "build", + "label": "npm: standalone", + "detail": "Build standalone and typecheck", + + "type": "shell", + "command": "npm run standalone", + "problemMatcher": [] + }, + { + "group": "build", + "label": "npm: wpt", + "detail": "Build for WPT and typecheck", + + "type": "shell", + "command": "npm run wpt", + "problemMatcher": [] + }, + { + "group": "build", + "label": "npm: unittest", + "detail": "Build standalone, typecheck, and unittest", + + "type": "shell", + "command": "npm run unittest", + "problemMatcher": [] + }, + { + "group": "build", + "label": "npm: tsdoc", + "detail": "Build docs/tsdoc/", + + "type": "shell", + "command": "npm run tsdoc", + "problemMatcher": [] + }, + { + "group": "build", + "label": "grunt: run:lint", + "detail": "Run eslint", + + "type": "shell", + "command": "npx grunt run:lint", + "problemMatcher": ["$eslint-stylish"] + }, + ] + } +} |