73 lines
No EOL
1.9 KiB
JSON
73 lines
No EOL
1.9 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Run (+ build)",
|
|
"type": "shell",
|
|
"command": "stack run",
|
|
"problemMatcher": [],
|
|
"dependsOn": [ "Build" ],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Build",
|
|
"type": "shell",
|
|
"command": "stack build",
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": false
|
|
}
|
|
},
|
|
{
|
|
"label": "Test",
|
|
"type": "shell",
|
|
"command": "stack test",
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "GHCI",
|
|
"type": "shell",
|
|
"command": "stack ghci ${input:file_to_load}",
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
}
|
|
},
|
|
{
|
|
"label": "Create verslag.pdf",
|
|
"type": "shell",
|
|
"command": "pandoc",
|
|
"args": [
|
|
"-s",
|
|
"-o", "verslag.pdf",
|
|
"-f", "markdown+smart+header_attributes+yaml_metadata_block+auto_identifiers",
|
|
"--pdf-engine", "lualatex",
|
|
"--template", "eisvogel",
|
|
"header.yaml",
|
|
"README.md"
|
|
],
|
|
"problemMatcher": [],
|
|
"group": {
|
|
"kind": "none",
|
|
"isDefault": false
|
|
}
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "file_to_load",
|
|
"description": "CLI arguments specifying file to load into Stack GHCI",
|
|
"default": ".",
|
|
"type": "promptString"
|
|
},
|
|
]
|
|
} |