Created
February 17, 2017 13:57
-
-
Save jbtule/7dae856d7a2da939e5aa92a01ba98990 to your computer and use it in GitHub Desktop.
vscode task.json for Harbour (use a build.hbp)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "0.1.0", | |
"tasks":[ | |
{ | |
"taskName": "Build", | |
"command": "hbmk2", | |
"isShellCommand": true, | |
"isBuildCommand": true, | |
"echoCommand" : true, | |
"args": ["build.hbp"], | |
"showOutput": "always", | |
"problemMatcher": [ | |
{ | |
"fileLocation": "absolute", | |
"pattern": { | |
"regexp": "^(\\w:\\\\.*)\\((\\d+)\\) (Error|Warning) (.*)$", | |
"file": 1, | |
"line" : 2, | |
"severity": 3, | |
"message": 4 | |
} | |
}, | |
{ | |
"fileLocation": [ "relative", "${workspaceRoot}" ], | |
"pattern": { | |
"regexp": "^(.*)\\((\\d+)\\) (Error|Warning) (.*)$", | |
"file": 1, | |
"line" : 2, | |
"severity": 3, | |
"message": 4 | |
} | |
},{ | |
"fileLocation": ["relative", "${workspaceRoot}"], | |
"pattern": { | |
"regexp": "^.*\\.o:(.*).c:\\(.*\\): (.*)$", | |
"file": 1, | |
"message": 2 | |
} | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment