105 lines
2.4 KiB
JSON
105 lines
2.4 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"options": {
|
|
"env": {
|
|
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "true"
|
|
}
|
|
},
|
|
"tasks": [
|
|
{
|
|
"taskName": "Restore: solution",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"restore"
|
|
]
|
|
},
|
|
{
|
|
"taskName": "Compile: solution",
|
|
"isBuildCommand": true,
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build",
|
|
"${workspaceRoot}/KestrelHttpServer.sln"
|
|
],
|
|
"problemMatcher": "$msCompile",
|
|
// these have to defined here because of https://github.com/Microsoft/vscode/issues/20740
|
|
"osx": {
|
|
"options": {
|
|
"env": {
|
|
// The location of .NET Framework reference assembiles.
|
|
// These may not be installed yet if you have not run build.sh.
|
|
"ReferenceAssemblyRoot": "${env.HOME}/.nuget/packages/netframeworkreferenceassemblies/4.6.1/content"
|
|
}
|
|
}
|
|
},
|
|
"linux": {
|
|
"options": {
|
|
"env": {
|
|
"ReferenceAssemblyRoot": "${env.HOME}/.nuget/packages/netframeworkreferenceassemblies/4.6.1/content"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"taskName": "Compile: CodeGenerator",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"build"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/tools/CodeGenerator/"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"taskName": "Run: CodeGenerator",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"run"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/tools/CodeGenerator/"
|
|
}
|
|
},
|
|
{
|
|
"taskName": "Run: Benchmarks",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"run",
|
|
"-c",
|
|
"Release"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/test/Microsoft.AspNetCore.Server.Kestrel.Performance/"
|
|
}
|
|
},
|
|
{
|
|
"taskName": "Test: KestrelTests",
|
|
"isTestCommand": true,
|
|
"command": "dotnet",
|
|
"args": [
|
|
"test",
|
|
"-f",
|
|
"netcoreapp1.1"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/test/Microsoft.AspNetCore.Server.KestrelTests"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
},
|
|
{
|
|
"taskName": "Test: FunctionalTests",
|
|
"command": "dotnet",
|
|
"args": [
|
|
"test",
|
|
"-f",
|
|
"netcoreapp1.1"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceRoot}/test/Microsoft.AspNetCore.Server.Kestrel.FunctionalTests"
|
|
},
|
|
"problemMatcher": "$msCompile"
|
|
}
|
|
]
|
|
}
|