From 91478dd20e85aaa8b0103a72e9e220aeb32a2aeb Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Sun, 10 Jan 2021 15:30:27 -0600 Subject: [PATCH] Add vscode stuff --- .vscode/launch.json | 15 +++++++++++++++ .vscode/tasks.json | 23 +++++++++++++++++++++++ 2 files changed, 38 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..597c343 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Launch Package", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "${workspaceFolder}/cmd/lume" + } + ] +} \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..728407b --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,23 @@ +{ + "version": "2.0.0", + "type": "shell", + "command": "go", + "cwd": "${workspaceFolder}", + "tasks": [ + { + "label": "install", + "args": ["install", "-v", "./..."], + "group": "build", + }, + { + "label": "run", + "args": ["run", "${file}"], + "group": "build", + }, + { + "label": "test", + "args": ["test", "-v", "./..."], + "group": "test", + }, + ], +} \ No newline at end of file