Add a vscode task to continuously build+test

This commit is contained in:
Clark Gaebel
2022-04-05 20:19:37 -04:00
committed by Clark Gaebel
parent a4d47770de
commit 55df2114fd
2 changed files with 25 additions and 2 deletions
+2 -2
View File
@@ -2,5 +2,5 @@ _build
*.install
*.merlin
_opam
.vscode
.vscode/*
!.vscode/tasks.json
+23
View File
@@ -0,0 +1,23 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "watch",
"command": "dune",
"args": [
"build",
"@default",
"@runtest",
"@fmt",
"--auto-promote",
"--watch"
],
"problemMatcher": [
"$ocamlc"
],
"isBackground": true,
}
]
}