Improve vscode workflow
This commit is contained in:
parent
0fbefbe628
commit
cfcd9531f9
16
.vscode/tasks.json
vendored
16
.vscode/tasks.json
vendored
@ -1,6 +1,11 @@
|
|||||||
{
|
{
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
|
{
|
||||||
|
"label": "setup: server",
|
||||||
|
"type": "shell",
|
||||||
|
"command": "cd Server ; npm install"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"label": "build: server",
|
"label": "build: server",
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
@ -26,6 +31,17 @@
|
|||||||
"windows": {
|
"windows": {
|
||||||
"command": "dotnet publish Launcher/Launcher.csproj /p:PublishProfile=Launcher/Properties/PublishProfiles/win-x64.pubxml"
|
"command": "dotnet publish Launcher/Launcher.csproj /p:PublishProfile=Launcher/Properties/PublishProfiles/win-x64.pubxml"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"label": "build",
|
||||||
|
"group": {
|
||||||
|
"kind": "build",
|
||||||
|
"isDefault": true
|
||||||
|
},
|
||||||
|
"dependsOn": [
|
||||||
|
"build: server",
|
||||||
|
"build: launcher"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
@ -27,9 +27,8 @@ Solution Explorer > Server > npm > install npm Packages
|
|||||||
|
|
||||||
### Setup
|
### Setup
|
||||||
|
|
||||||
`npm --prefix Server install`
|
Terminal > Run Task > setup: server
|
||||||
|
|
||||||
### Build
|
### Build
|
||||||
|
|
||||||
1. Terminal > Run Task > release: launcher
|
Terminal > Run Build Task
|
||||||
2. Terminal > Run Task > release: server
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user