From fcac75581498f61507fd005e16798fa38a2bf610 Mon Sep 17 00:00:00 2001 From: Jan-Lukas Else Date: Sat, 26 Sep 2020 16:14:29 +0200 Subject: [PATCH] Add VSCode config --- .vscode/launch.json | 14 ++++++++++++++ .vscode/tasks.json | 10 ++++++++++ 2 files changed, 24 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..6b9fdc4 --- /dev/null +++ b/.vscode/launch.json @@ -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" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..8e0ae73 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,10 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "Build", + "type": "shell", + "command": "go build" + } + ] + } \ No newline at end of file