Skip to content

Instantly share code, notes, and snippets.

@Khady
Created May 24, 2020 04:22
Show Gist options
  • Save Khady/06d3b1d7ec5d1fea4215cc503c5c1312 to your computer and use it in GitHub Desktop.
Save Khady/06d3b1d7ec5d1fea4215cc503c5c1312 to your computer and use it in GitHub Desktop.
vscode dune 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 all",
"group": "build",
"type": "shell",
"command": "opam exec -- dune build",
"options": {
"env": {
"OCAML_ERROR_STYLE": "short"
}
},
"problemMatcher": {
"base": "$ocamlc",
"source": "dune"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment