1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

add some tasks

This commit is contained in:
Jesse Duffield 2022-11-13 11:31:04 +11:00
parent 903e65ae8d
commit fb170b55a2

52
.vscode/tasks.json vendored Normal file
View File

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