From ea65743fdfa94c968e0cb56b3fbd12581158167a Mon Sep 17 00:00:00 2001 From: Juarez Rudsatz Date: Mon, 31 Jan 2022 16:21:19 -0300 Subject: [PATCH] vscode: add tasks for build and install package --- .vscode/tasks.json | 53 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 00000000..c17fa20c --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,53 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Package: build", + "command": "python2", + "args": [ + "setup.py", + "build" + ], + "presentation": { + "echo": true, + "panel": "shared", + "focus": true + } + }, + { + "label": "Package: install", + "command": "python3", + "group": { + "kind": "build", + "isDefault": true + }, + "args": [ + "setup.py", + "install" + ], + "presentation": { + "echo": true, + "panel": "shared", + "focus": true + } + } + ], + "problemMatcher": [ + { + "fileLocation": "absolute", + "pattern": [ + { + "regexp": "^\\s+File \"(.*)\", line (\\d+), in (.*)$", + "file": 1, + "line": 2 + }, + { + "regexp": "^\\s+(.*)$", + "message": 1 + } + ] + } + ] +} \ No newline at end of file