Rename tasks and run configs

This commit is contained in:
Ferenc Hammerl
2021-05-26 16:27:22 +02:00
parent 7db191ee71
commit 695b75c3fe
2 changed files with 30 additions and 48 deletions

34
.vscode/launch.json vendored
View File

@@ -5,23 +5,14 @@
"version": "0.2.0",
"configurations": [
{
"name": "Deploy and Configure",
"name": "Run [build]",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "deploy to _layout",
"preLaunchTask": "build runner layout",
"program": "${workspaceFolder}/_layout/bin/Runner.Listener",
"args": ["configure"],
"cwd": "${workspaceFolder}/src",
"console": "integratedTerminal",
"requireExactSource": false,
},
{
"name": "Build and Run",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build to _layout",
"program": "${workspaceFolder}/_layout/bin/Runner.Listener",
"args": ["run"],
"args": [
"run"
],
"cwd": "${workspaceFolder}/src",
"console": "integratedTerminal",
"requireExactSource": false,
@@ -31,21 +22,26 @@
"type": "coreclr",
"request": "launch",
"program": "${workspaceFolder}/_layout/bin/Runner.Listener",
"args": ["run"],
"args": [
"run"
],
"cwd": "${workspaceFolder}/src",
"console": "integratedTerminal",
"requireExactSource": false,
},
},
{
"name": "Configure",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "create runner layout",
"program": "${workspaceFolder}/_layout/bin/Runner.Listener",
"args": ["configure"],
"args": [
"configure"
],
"cwd": "${workspaceFolder}/src",
"console": "integratedTerminal",
"requireExactSource": false,
},
},
{
"name": ".NET Core Attach",
"type": "coreclr",
@@ -54,4 +50,4 @@
"requireExactSource": false,
},
],
}
}

44
.vscode/tasks.json vendored
View File

@@ -2,46 +2,32 @@
"version": "2.0.0",
"tasks": [
{
"label": "build listener",
"command": "dotnet",
"type": "process",
"label": "create runner layout",
"detail": "Build and Copy all projects, scripts and external dependencies to _layout from src (run this the first time or after deleting _layout)",
"command": "./dev.sh",
"windows": {
"command": "dev.cmd"
},
"args": [
"msbuild",
"-t:Build",
"-p:PackageRuntime=\"osx-x64\"",
"-p:BUILDCONFIG=\"Debug\"",
"-p:RunnerVersion=\"2.278.0\"",
"./dir.proj",
"layout"
],
"options": {
"cwd": "${workspaceFolder}/src"
"cwd": "${workspaceFolder}/src"
},
"problemMatcher": "$msCompile",
},
{
"label": "deploy to _layout",
"detail": "Build and Deploy all projects, scripts and external dependencies to _layout from src (run this the first time or after deleting _layout)",
"label": "build runner layout",
"detail": "Build and Copy all projects to _layout from src (run this on code change)",
"command": "./dev.sh",
"windows": {
"command": "dev.cmd"
},
"args": ["layout"],
"args": [
"build"
],
"options": {
"cwd": "${workspaceFolder}/src"
},
},
{
"label": "build to _layout",
"detail": "Build and Deploy all projects to _layout from src (run this on code change)",
"command": "./dev.sh",
"windows": {
"command": "dev.cmd"
},
"args": ["build"],
"options": {
"cwd": "${workspaceFolder}/src"
"cwd": "${workspaceFolder}/src"
},
}
],
}
}