Add VSCode config

This commit is contained in:
Jan-Lukas Else 2020-09-26 16:14:29 +02:00
parent d1e0916342
commit fcac755814
2 changed files with 24 additions and 0 deletions

14
.vscode/launch.json vendored Normal file
View File

@ -0,0 +1,14 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Launch Executable",
"type": "go",
"request": "launch",
"mode": "exec",
"program": "${workspaceRoot}/GoBlog",
"cwd": "${workspaceRoot}",
"preLaunchTask": "Build"
}
]
}

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

@ -0,0 +1,10 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "go build"
}
]
}