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