Skip to content

Instantly share code, notes, and snippets.

@jeiea
Created November 14, 2019 14:14
Show Gist options
  • Save jeiea/6a141aa7d0509f5ec9aeb9ce8ef992d4 to your computer and use it in GitHub Desktop.
Save jeiea/6a141aa7d0509f5ec9aeb9ce8ef992d4 to your computer and use it in GitHub Desktop.
haskell stack windows vscode build task
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "build",
"type": "shell",
"command": "chcp 65001; stack build --fast",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": {
"pattern": {
"regexp": "^(?:.*?> )?(.*?):(\\d+):(\\d+): (.*?):",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
},
"owner": "haskell",
"background": {
"beginsPattern": ".*?> build",
"endsPattern": "^-- While"
}
},
"presentation": {
"echo": false,
"focus": false,
"panel": "shared",
"showReuseMessage": true,
"clear": true,
"revealProblems": "never",
}
},
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment