Created
June 2, 2022 16:23
-
-
Save ViktorHofer/65803fc9052a6ba70de63ad7d295dbcc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// See https://go.microsoft.com/fwlink/?LinkId=733558 | |
// for the documentation about the tasks.json format | |
"version": "2.0.0", | |
"presentation": { | |
"reveal": "always", | |
"panel": "shared", | |
"focus": true | |
}, | |
"tasks": [ | |
{ | |
"label": "dotnet restore", | |
"detail": "Restore the currently opened .NET project.", | |
"command": "${workspaceRoot}/dotnet.sh", | |
"args": [ | |
"restore", | |
"${file}" | |
], | |
"windows": { | |
"command": "${workspaceRoot}\\dotnet.cmd" | |
}, | |
"type": "shell", | |
"promptOnClose": true, | |
"problemMatcher": "$msCompile" | |
}, | |
{ | |
"label": "dotnet build", | |
"detail": "Build the currently opened .NET project.", | |
"command": "${workspaceRoot}/dotnet.sh", | |
"args": [ | |
"build", | |
"${file}" | |
], | |
"windows": { | |
"command": "${workspaceRoot}\\dotnet.cmd" | |
}, | |
"type": "shell", | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"promptOnClose": true, | |
"problemMatcher": "$msCompile" | |
}, | |
{ | |
"label": "dotnet test", | |
"detail": "Test the currently opened .NET project.", | |
"command": "${workspaceRoot}/dotnet.sh", | |
"args": [ | |
"test", | |
"${file}" | |
], | |
"windows": { | |
"command": "${workspaceRoot}\\dotnet.cmd" | |
}, | |
"type": "shell", | |
"group": { | |
"kind": "test", | |
"isDefault": true | |
}, | |
"promptOnClose": true, | |
"problemMatcher": "$msCompile" | |
}, | |
{ | |
"label": "dotnet pack", | |
"detail": "Pack the currently opened .NET project.", | |
"command": "${workspaceRoot}/dotnet.sh", | |
"args": [ | |
"pack", | |
"${file}" | |
], | |
"windows": { | |
"command": "${workspaceRoot}\\dotnet.cmd" | |
}, | |
"type": "shell", | |
"promptOnClose": true, | |
"problemMatcher": "$msCompile" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment