Created
May 24, 2020 04:22
-
-
Save Khady/06d3b1d7ec5d1fea4215cc503c5c1312 to your computer and use it in GitHub Desktop.
vscode dune build task
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": "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