fsharp/.vscode/tasks.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

189 строки
5.3 KiB
JSON
Исходник Постоянная ссылка Обычный вид История

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"inputs": [
{
"id": "fscArgsPrompt",
"description": "Enter arguments for fsc",
"default": "",
"type": "promptString",
},
{
"id": "fsiArgsPrompt",
"description": "Enter arguments for fsi",
"default": "",
"type": "promptString",
},
{
"id": "PickProcess",
"description": "Enter process id",
"type": "promptString"
}
],
"windows": {
"options": {
"shell": {
"executable": "cmd.exe",
"args": [
"/d",
"/c"
]
}
}
},
"tasks": [
{
"label": "Build (Debug)",
"command": "dotnet",
"type": "shell",
"args": [
"build",
2023-10-07 18:42:38 +03:00
"-c",
"Debug",
"FSharp.Compiler.Service.sln"
],
"windows": {
"command": "dotnet",
2022-12-02 19:01:14 +03:00
"args": [
"build",
2023-10-07 18:42:38 +03:00
"-c",
"Debug",
"FSharp.Compiler.Service.sln"
]
},
"options": {
"env": {
"UpdateXlfOnBuild": "true"
}
},
"problemMatcher": "$msCompile",
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Build (Release)",
"command": "dotnet",
"type": "shell",
"args": [
"build",
2023-10-07 18:42:38 +03:00
"-c",
"Release",
"FSharp.Compiler.Service.sln"
],
"windows": {
"command": "dotnet",
2022-12-02 19:01:14 +03:00
"args": [
"build",
2023-10-07 18:42:38 +03:00
"-c",
"Release",
"FSharp.Compiler.Service.sln"
]
},
"options": {
"env": {
"UpdateXlfOnBuild": "true"
}
},
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "Run FSI with dotnet-trace",
"command": "dotnet",
"type": "shell",
"args": [
"dotnet-trace",
"collect",
"--format",
"Speedscope",
"--",
"dotnet",
2024-07-23 13:40:03 +03:00
"${workspaceFolder}/artifacts/bin/fsi/Debug/net9.0/fsi.dll",
"${input:fsiArgsPrompt}"
],
"problemMatcher": "$msCompile",
"group": "none"
},
{
"label": "Run FSC with dotnet-trace",
"command": "dotnet",
"type": "shell",
"args": [
"dotnet-trace",
"collect",
"--format",
"Speedscope",
"--",
"dotnet",
2024-07-23 13:40:03 +03:00
"${workspaceFolder}/artifacts/bin/fsc/Debug/net9.0/fsc.dll",
"--targetprofile:netstandard",
"--simpleresolution",
"${input:fscArgsPrompt}"
],
"problemMatcher": "$msCompile",
"group": "none"
},
{
"label": "Create a process dump with dotnet-dump",
"command": "dotnet",
"type": "shell",
"args": [
"dotnet-dump",
"collect",
"--diag",
"--crashreport",
"--type",
"Full",
"--process-id",
"${input:PickProcess}",
],
"problemMatcher": "$msCompile",
"group": "none"
},
{
"label": "Create a process GC dump with dotnet-gcdump",
"command": "dotnet",
"type": "shell",
"args": [
"dotnet-gcdump",
"collect",
"--process-id",
"${input:PickProcess}",
],
"problemMatcher": "$msCompile",
"group": "none"
},
{
"label": "Collect process counters with dotnet-counters",
"command": "dotnet",
"type": "shell",
"args": [
"dotnet-counters",
"collect",
"--process-id",
"${input:PickProcess}",
],
"problemMatcher": "$msCompile",
"group": "none"
},
{
"label": "Update xlf files",
"command": "dotnet",
"type": "shell",
"args": ["build", "-t:UpdateXlf", "src/Compiler/FSharp.Compiler.Service.fsproj"],
"problemMatcher": "$msCompile",
"group": "build"
},
{
"label": "Run Fantomas",
"command": "dotnet",
"args": ["fantomas", "."],
"type": "shell",
"problemMatcher": "$msCompile",
"group": "build"
}
]
}