VSCode Tasks

This commit is contained in:
Mike Phares 2023-07-18 11:00:15 -07:00
parent 5524a9eca2
commit 566dc15311
2 changed files with 9 additions and 24 deletions

30
.vscode/tasks.json vendored
View File

@ -1,13 +1,8 @@
{
"version": "2.0.0",
"options": {
"env": {
"serverUserSecretsId": "7ca5318a-9332-4217-b9d8-cae696629934"
}
},
"tasks": [
{
"label": "userSecretsInit",
"label": "User Secrets Init",
"command": "dotnet",
"type": "process",
"args": [
@ -19,7 +14,7 @@
"problemMatcher": "$msCompile"
},
{
"label": "userSecretsSet",
"label": "User Secrets Set",
"command": "dotnet",
"type": "process",
"args": [
@ -33,20 +28,7 @@
"problemMatcher": "$msCompile"
},
{
"label": "userSecretsMkLink",
"command": "cmd",
"type": "shell",
"args": [
"/c",
"mklink",
"/J",
".vscode\\UserSecrets",
"${userHome}\\AppData\\Roaming\\Microsoft\\UserSecrets\\$env:serverUserSecretsId"
],
"problemMatcher": "$msCompile"
},
{
"label": "format",
"label": "Format",
"command": "dotnet",
"type": "process",
"args": [
@ -71,6 +53,12 @@
"/consoleloggerparameters:NoSummary"
],
"problemMatcher": "$msCompile"
},
{
"label": "File-Folder-Helper AOT s M Self .Kanbn Tasks",
"type": "shell",
"command": "& L:/DevOps/Mesa_FI/File-Folder-Helper/bin/Release/net7.0/win-x64/publish/File-Folder-Helper.exe s M '.kanbn/tasks'",
"problemMatcher": []
}
]
}

View File

@ -3,16 +3,13 @@
"prettier.check": "prettier . --check",
"prettier.write": "prettier . --write",
"Alpha": "ABCDEFGHIJKLMNOPQRSTUVWXYZ",
"build": "dotnet build --runtime win-x64 --self-contained",
"cobertura": "ReportGenerator -reports:.vscode/TestResults/*/coverage.cobertura.xml -targetDir:.vscode/ReportGenerator/Cobertura/1d194f36-30a9-40e0-bf72-2ac275bd2fe2 -reportTypes:Cobertura",
"cobertura-rename": "node -e \"require('fs').rename('.vscode/ReportGenerator/Cobertura/1d194f36-30a9-40e0-bf72-2ac275bd2fe2/Cobertura.xml', '.vscode/ReportGenerator/Cobertura/1d194f36-30a9-40e0-bf72-2ac275bd2fe2/coverage.cobertura.xml', function(err) { if (err) console.log(err); console.log('File successfully renamed!') })\"",
"dotnet-format": "dotnet format --report .vscode --verbosity detailed --severity warn",
"garbage-collect": "git gc",
"html-Dark": "ReportGenerator -reports:.vscode/TestResults/*/coverage.cobertura.xml -targetDir:.vscode/ReportGenerator/Html_Dark/1d194f36 -reportTypes:Html_Dark",
"html-Dark-rename": "node -e \"require('fs').rename('.vscode/ReportGenerator/html_dark/1d194f36/index.htm', '.vscode/ReportGenerator/html_dark/1d194f36/_ index.htm', function(err) { if (err) console.log(err); console.log('File successfully renamed!') })\"",
"jsonSummary": "ReportGenerator -reports:.vscode/TestResults/*/coverage.cobertura.xml -targetDir:.vscode/ReportGenerator/JsonSummary/1d194f36 -reportTypes:JsonSummary",
"markdownSummary": "ReportGenerator -reports:.vscode/TestResults/*/coverage.cobertura.xml -targetDir:.vscode/ReportGenerator/MarkdownSummary/1d194f36 -reportTypes:MarkdownSummary",
"pull": "git pull",
"textSummary": "ReportGenerator -reports:.vscode/TestResults/*/coverage.cobertura.xml -targetDir:.vscode/ReportGenerator/TextSummary/1d194f36 -reportTypes:TextSummary",
"A-Instance-Pictures": "set ASPNETCORE_ENVIRONMENT=Development&& dotnet run --project \"Instance\\Instance.csproj\" --runtime win-x64 --no-self-contained \"C:\\Tmp\\phares\\Pictures\" s",
"B-Instance-Images--": "dotnet run --project \"Instance\\Instance.csproj\" --runtime win-x64 --no-self-contained \"D:\\Images\" s",