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" + }, + ] +}