Skip to content

Instantly share code, notes, and snippets.

@yiding
Created June 2, 2017 20:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yiding/b5b9c704af8b542cfd95e0d2139700db to your computer and use it in GitHub Desktop.
Save yiding/b5b9c704af8b542cfd95e0d2139700db to your computer and use it in GitHub Desktop.
VSCode tasks.json for stack
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "0.1.0",
"command": "stack",
"tasks": [
{
"taskName": "build",
"isBuildCommand": true
},
{
"taskName": "test",
"isTestCommand": true
},
{
"taskName": "hoogle-server",
"isBackground": true,
"suppressTaskName": true,
"args": ["hoogle", "--", "server", "--local", "--port=8080"]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment