From ac39f803eae6ec6e7312620a8e1865c1131e8d86 Mon Sep 17 00:00:00 2001 From: "akhilvanaparthi1104@gmail.com" Date: Wed, 5 Feb 2025 19:02:59 -0600 Subject: [PATCH] added appveyor.yml for CI/CD pipeline --- .vscode/tasks.json | 55 +++++++++++++++++++++++++++++++----------- .vscode/tasks.json.old | 28 +++++++++++++++++++++ appveyor.yml | 0 3 files changed, 69 insertions(+), 14 deletions(-) create mode 100644 .vscode/tasks.json.old create mode 100644 appveyor.yml diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 9228b146..2c664b1e 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,28 +1,55 @@ { // See http://go.microsoft.com/fwlink/?LinkId=733558 // for the documentation about the tasks.json format - "version": "0.1.0", + "version": "2.0.0", "command": "dotnet", - "isShellCommand": true, "args": [], "tasks": [ { - "taskName": "build", - "args": ["server"], - "isBuildCommand": true, - "problemMatcher": "$msCompile" + "label": "build", + "type": "shell", + "command": "dotnet", + "args": [ + "build", + "server" + ], + "problemMatcher": "$msCompile", + "group": { + "_id": "build", + "isDefault": false + } }, { - "taskName": "test", - "args": ["server.test"], - "isTestCommand": true, - "problemMatcher": "$msCompile" + "label": "test", + "type": "shell", + "command": "dotnet", + "args": [ + "test", + "server.test" + ], + "problemMatcher": "$msCompile", + "group": { + "_id": "test", + "isDefault": false + } }, { - "taskName": "publish", - "args": ["-o", "build", "-f", "netcoreapp1.0", "server"], - "isBuildCommand": true, - "problemMatcher": "$msCompile" + "label": "publish", + "type": "shell", + "command": "dotnet", + "args": [ + "publish", + "-o", + "build", + "-f", + "netcoreapp1.0", + "server" + ], + "problemMatcher": "$msCompile", + "group": { + "_id": "build", + "isDefault": false + } } ] } diff --git a/.vscode/tasks.json.old b/.vscode/tasks.json.old new file mode 100644 index 00000000..9228b146 --- /dev/null +++ b/.vscode/tasks.json.old @@ -0,0 +1,28 @@ +{ + // See http://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "0.1.0", + "command": "dotnet", + "isShellCommand": true, + "args": [], + "tasks": [ + { + "taskName": "build", + "args": ["server"], + "isBuildCommand": true, + "problemMatcher": "$msCompile" + }, + { + "taskName": "test", + "args": ["server.test"], + "isTestCommand": true, + "problemMatcher": "$msCompile" + }, + { + "taskName": "publish", + "args": ["-o", "build", "-f", "netcoreapp1.0", "server"], + "isBuildCommand": true, + "problemMatcher": "$msCompile" + } + ] +} diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 00000000..e69de29b