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",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "setup: server",
|
||||
"type": "shell",
|
||||
"command": "cd Server ; npm install"
|
||||
},
|
||||
{
|
||||
"label": "build: server",
|
||||
"type": "shell",
|
||||
@ -26,6 +31,17 @@
|
||||
"windows": {
|
||||
"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
|
||||
|
||||
`npm --prefix Server install`
|
||||
Terminal > Run Task > setup: server
|
||||
|
||||
### Build
|
||||
|
||||
1. Terminal > Run Task > release: launcher
|
||||
2. Terminal > Run Task > release: server
|
||||
Terminal > Run Build Task
|
||||
|
Loading…
x
Reference in New Issue
Block a user