72 lines
1.7 KiB
JSON
72 lines
1.7 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Scientia: собрать PDF",
|
|
"type": "process",
|
|
"command": "typst",
|
|
"args": ["compile", "--root", ".", "main.typ", "document.pdf"],
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Scientia: выбрать тип документа",
|
|
"type": "process",
|
|
"command": "powershell",
|
|
"args": [
|
|
"-NoProfile",
|
|
"-ExecutionPolicy",
|
|
"Bypass",
|
|
"-File",
|
|
".template/development/tools/use-starter.ps1",
|
|
"-Name",
|
|
"${input:documentType}"
|
|
],
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Scientia: собрать учебный пример",
|
|
"type": "process",
|
|
"command": "typst",
|
|
"args": [
|
|
"compile",
|
|
"--root",
|
|
".",
|
|
"${input:exampleEntry}",
|
|
"example.pdf"
|
|
],
|
|
"problemMatcher": []
|
|
}
|
|
],
|
|
"inputs": [
|
|
{
|
|
"id": "documentType",
|
|
"type": "pickString",
|
|
"description": "Выберите тип документа",
|
|
"options": [
|
|
"report",
|
|
"letter",
|
|
"commercial-offer",
|
|
"contract"
|
|
],
|
|
"default": "report"
|
|
},
|
|
{
|
|
"id": "exampleEntry",
|
|
"type": "pickString",
|
|
"description": "Выберите компилируемый пример",
|
|
"options": [
|
|
"docs/examples/documents/report/main.typ",
|
|
"docs/examples/documents/letter/main.typ",
|
|
"docs/examples/documents/commercial-offer/main.typ",
|
|
"docs/examples/documents/contract/main.typ",
|
|
"docs/examples/formatting/main.typ"
|
|
],
|
|
"default": "docs/examples/formatting/main.typ"
|
|
}
|
|
]
|
|
}
|