Last active
April 2, 2017 21:32
-
-
Save AlexeyRaga/f159ada2a6ba69f9e51d to your computer and use it in GitHub Desktop.
Haskell Stack + HSpec tasks for VSCode
This file contains 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
{ | |
"version": "0.1.0", | |
"command": "stack", | |
"suppressTaskName": true, | |
"isShellCommand": true, | |
"args": [], | |
"tasks": [ | |
{ | |
"taskName": "build", | |
"args": ["build"], | |
"isBuildCommand": true, | |
"problemMatcher": [ | |
{ | |
"owner": "stack", | |
"fileLocation": "absolute", | |
"pattern": [ | |
{ | |
"regexp": "^(.*):(\\d+):(\\d+):$", | |
"file": 1, | |
"line": 2, | |
"column": 3 | |
}, | |
{ | |
"regexp": "^\\s+(.*)$", | |
"message": 1 | |
} | |
] | |
}, | |
{ | |
"owner": "stack", | |
"fileLocation": "absolute", | |
"pattern": [ | |
{ | |
"regexp": "^(.*):(\\d+):(\\d+):\\s+(Warning):\\s+(.*)$", | |
"file": 1, | |
"line": 2, | |
"column": 3, | |
"severity": 4, | |
"message": 5 | |
} | |
] | |
}, | |
{ | |
"owner": "stack", | |
"fileLocation": "absolute", | |
"pattern": [ | |
{ | |
"regexp": "^(.*):(\\d+):(\\d+):\\s+(Warning|Error):$", | |
"file": 1, | |
"line": 2, | |
"column": 3, | |
"severity": 4 | |
}, | |
{ | |
"regexp": "^\\s+(.*)$", | |
"message": 1 | |
} | |
] | |
} | |
] | |
}, | |
{ | |
"taskName": "clean", | |
"args": ["clean"], | |
"isBuildCommand": false, | |
"isTestCommand": false | |
}, | |
{ | |
"taskName": "test", | |
"args": ["test"], | |
"isTestCommand": true, | |
"problemMatcher": [ | |
{ | |
"owner": "hspec", | |
"fileLocation": ["relative", "${workspaceRoot}"], | |
"pattern": [ | |
{ | |
"regexp": "^\\s+(.*):(\\d+):", | |
"file": 1, | |
"line": 2 | |
}, | |
{ | |
"regexp": "^\\s+\\d+\\)\\s+(.*)", | |
"message": 1 | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment