mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-08-05 02:38:01 +00:00

Some checks are pending
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
235 lines
5.3 KiB
JSON
235 lines
5.3 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "VS Code Extension Prelaunch",
|
|
"dependsOn": [
|
|
"Compile VS Code Extension",
|
|
"Build Debug LSP Binary",
|
|
"Copy Debug LSP Binary to VS Code Extension",
|
|
"Copy Debug LSP Debug Info to VS Code Extension",
|
|
"Compile Typst Preview Extension",
|
|
"Copy Debug LSP Binary to Typst Preview Extension"
|
|
],
|
|
"dependsOrder": "sequence",
|
|
},
|
|
{
|
|
"label": "VS Code Extension Prelaunch [Web]",
|
|
"dependsOn": [
|
|
"Build and Copy Web LSP Binary [Wasm]",
|
|
"Compile VS Code Extension [Web]",
|
|
],
|
|
"dependsOrder": "sequence",
|
|
},
|
|
{
|
|
"label": "VS Code Extension Prelaunch [Release]",
|
|
"dependsOn": [
|
|
"Compile VS Code Extension",
|
|
"Build Release LSP Binary",
|
|
"Copy Release LSP Binary to VS Code Extension"
|
|
],
|
|
"dependsOrder": "sequence",
|
|
},
|
|
{
|
|
"label": "Build VS Code Extension Bundle",
|
|
"dependsOn": [
|
|
"Compile VS Code Extension",
|
|
"Build Release LSP Binary",
|
|
"Copy Release LSP Binary to VS Code Extension",
|
|
"Generate VS Code Extension Bundle",
|
|
"Compile Typst Preview Extension",
|
|
"Copy Release LSP Binary to Typst Preview Extension",
|
|
"Generate Typst Preview Extension Bundle"
|
|
],
|
|
"dependsOrder": "sequence",
|
|
},
|
|
{
|
|
"label": "Compile VS Code Extension",
|
|
"type": "npm",
|
|
"script": "compile",
|
|
"path": "editors/vscode",
|
|
"group": "build",
|
|
},
|
|
{
|
|
"label": "Compile VS Code Extension [Web]",
|
|
"type": "npm",
|
|
"script": "compile:web",
|
|
"path": "editors/vscode",
|
|
"group": "build",
|
|
},
|
|
{
|
|
"label": "Generate VS Code Extension Bundle",
|
|
"type": "npm",
|
|
"script": "package",
|
|
"path": "editors/vscode",
|
|
"group": "build",
|
|
},
|
|
{
|
|
"label": "Compile Typst Preview Extension",
|
|
"type": "npm",
|
|
"script": "compile",
|
|
"path": "contrib/typst-preview/editors/vscode",
|
|
"group": "build",
|
|
},
|
|
{
|
|
"label": "Generate Typst Preview Extension Bundle",
|
|
"type": "npm",
|
|
"script": "package",
|
|
"path": "contrib/typst-preview/editors/vscode",
|
|
"group": "build",
|
|
},
|
|
{
|
|
"label": "Build Debug LSP Binary",
|
|
"type": "cargo",
|
|
"command": "build",
|
|
"args": [
|
|
"--bin",
|
|
"tinymist"
|
|
],
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
],
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Build and Copy Web LSP Binary [Wasm]",
|
|
"type": "npm",
|
|
"script": "build:web",
|
|
"path": ".",
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Build Release LSP Binary",
|
|
"type": "cargo",
|
|
"command": "build",
|
|
"args": [
|
|
"--release",
|
|
"--bin",
|
|
"tinymist"
|
|
],
|
|
"problemMatcher": [
|
|
"$rustc"
|
|
],
|
|
"group": "build"
|
|
},
|
|
{
|
|
"label": "Copy Debug LSP Binary to VS Code Extension",
|
|
"type": "shell",
|
|
"windows": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}\\target\\debug\\tinymist.exe",
|
|
"${workspaceFolder}\\editors\\vscode\\out\\"
|
|
]
|
|
},
|
|
"linux": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}/target/debug/tinymist",
|
|
"${workspaceFolder}/editors/vscode/out/"
|
|
]
|
|
},
|
|
"osx": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}/target/debug/tinymist",
|
|
"${workspaceFolder}/editors/vscode/out/"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"label": "Copy Debug LSP Debug Info to VS Code Extension",
|
|
"type": "shell",
|
|
"windows": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}\\target\\debug\\tinymist.pdb",
|
|
"${workspaceFolder}\\editors\\vscode\\out\\"
|
|
]
|
|
},
|
|
"linux": {
|
|
"command": "true",
|
|
"args": []
|
|
},
|
|
"osx": {
|
|
"command": "true",
|
|
"args": []
|
|
}
|
|
},
|
|
{
|
|
"label": "Copy Release LSP Binary to VS Code Extension",
|
|
"type": "shell",
|
|
"windows": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}\\target\\release\\tinymist.exe",
|
|
"${workspaceFolder}\\editors\\vscode\\out\\"
|
|
]
|
|
},
|
|
"linux": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}/target/release/tinymist",
|
|
"${workspaceFolder}/editors/vscode/out/"
|
|
]
|
|
},
|
|
"osx": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}/target/release/tinymist",
|
|
"${workspaceFolder}/editors/vscode/out/"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"label": "Copy Debug LSP Binary to Typst Preview Extension",
|
|
"type": "shell",
|
|
"windows": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}\\target\\debug\\tinymist.exe",
|
|
"${workspaceFolder}\\contrib\\typst-preview\\editors\\vscode\\out\\"
|
|
]
|
|
},
|
|
"linux": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}/target/debug/tinymist",
|
|
"${workspaceFolder}/contrib/typst-preview/editors/vscode/out/"
|
|
]
|
|
},
|
|
"osx": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}/target/debug/tinymist",
|
|
"${workspaceFolder}/contrib/typst-preview/editors/vscode/out/"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"label": "Copy Release LSP Binary to Typst Preview Extension",
|
|
"type": "shell",
|
|
"windows": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}\\target\\release\\tinymist.exe",
|
|
"${workspaceFolder}\\contrib\\typst-preview\\editors\\vscode\\out\\"
|
|
]
|
|
},
|
|
"linux": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}/target/release/tinymist",
|
|
"${workspaceFolder}/contrib/typst-preview/editors/vscode/out/"
|
|
]
|
|
},
|
|
"osx": {
|
|
"command": "cp",
|
|
"args": [
|
|
"${workspaceFolder}/target/release/tinymist",
|
|
"${workspaceFolder}/contrib/typst-preview/editors/vscode/out/"
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|