Skip to content

Commit

Permalink
vscode: add tasks for build and install package
Browse files Browse the repository at this point in the history
  • Loading branch information
Juarez Rudsatz committed Jan 31, 2022
1 parent f5a8886 commit ea65743
Showing 1 changed file with 53 additions and 0 deletions.
53 changes: 53 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -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
}
]
}
]
}

0 comments on commit ea65743

Please sign in to comment.