summaryrefslogtreecommitdiffstats
path: root/.vscode
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-11-13 11:31:04 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-11-13 11:37:52 +1100
commitfb170b55a216c9ebb2d107215953a7cf938af702 (patch)
tree6a2fcc86e6e5d318b64583f8f8d51843e72ba5ea /.vscode
parent903e65ae8d3e5f65d6b05ff411fbd99b114c5db4 (diff)
add some tasks
Diffstat (limited to '.vscode')
-rw-r--r--.vscode/tasks.json52
1 files changed, 52 insertions, 0 deletions
diff --git a/.vscode/tasks.json b/.vscode/tasks.json
new file mode 100644
index 000000000..6b6943b12
--- /dev/null
+++ b/.vscode/tasks.json
@@ -0,0 +1,52 @@
+{
+ // See https://go.microsoft.com/fwlink/?LinkId=733558
+ // for the documentation about the tasks.json format
+ "version": "2.0.0",
+ "tasks": [
+ {
+ "label": "Generate cheatsheet",
+ "type": "process",
+ "command": "go run scripts/cheatsheet/main.go "
+ },
+ {
+ "label": "Bump gocui",
+ "type": "shell",
+ "command": "./scripts/bump_gocui.sh"
+ },
+ {
+ "label": "Run current file integration test",
+ "type": "shell",
+ "command": "go run cmd/integration_test/main.go cli ${relativeFile}",
+ "problemMatcher": [],
+ "group": {
+ "kind": "test",
+ "isDefault": true
+ }
+ },
+ {
+ "label": "Run current file integration test (slow)",
+ "type": "shell",
+ "command": "go run cmd/integration_test/main.go cli --slow ${relativeFile}",
+ "problemMatcher": [],
+ "group": {
+ "kind": "test",
+ }
+ },
+ {
+ "label": "Run current file integration test (sandbox)",
+ "type": "shell",
+ "command": "go run cmd/integration_test/main.go cli --sandbox ${relativeFile}",
+ "problemMatcher": [],
+ "group": {
+ "kind": "test",
+ }
+ }
+ ],
+ "inputs": [
+ {
+ "id": "testname",
+ "description": "Test name/path (e.g. 'commit/commit'):",
+ "type": "promptString"
+ },
+ ]
+}