31 lines
971 B
Plaintext
31 lines
971 B
Plaintext
{
|
|
"folders":
|
|
[
|
|
{
|
|
"path": ".",
|
|
"folder_exclude_patterns": [".vscode", "_build", "_opam"]
|
|
}
|
|
],
|
|
"build_systems":
|
|
[
|
|
{
|
|
"name": "build",
|
|
"file_regex": "^File \"(.+)\", lines? (\\d+)-?\\d*, characters? (\\d+)",
|
|
"working_dir": "$project_path",
|
|
"shell_cmd": "opam exec --switch=\"$project_path\" -- dune build --display verbose"
|
|
},
|
|
{
|
|
"name": "runtest",
|
|
"file_regex": "^File \"(.+)\", lines? (\\d+)-?\\d*, characters? (\\d+)",
|
|
"working_dir": "$project_path",
|
|
"shell_cmd": "opam exec --switch=\"$project_path\" -- dune build @fmt @runtest --display verbose"
|
|
},
|
|
{
|
|
"name": "promote",
|
|
"file_regex": "^File \"(.+)\", lines? (\\d+)-?\\d*, characters? (\\d+)",
|
|
"working_dir": "$project_path",
|
|
"shell_cmd": "opam exec --switch=\"$project_path\" -- dune promote --verbose"
|
|
}
|
|
]
|
|
}
|